Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 347543
b: refs/heads/master
c: 705f814
h: refs/heads/master
i:
  347541: c012b44
  347539: 6c34ee0
  347535: cf265f8
v: v3
  • Loading branch information
Wei Yongjun authored and Jaegeuk Kim committed Dec 11, 2012
1 parent d08a429 commit 9a2d3e9
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 61412b64b965af72798000c3c921e88db31216b1
refs/heads/master: 705f814e34e08f6169439014a2916fd5afbdf232
2 changes: 0 additions & 2 deletions trunk/fs/f2fs/dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -509,13 +509,11 @@ void f2fs_delete_entry(struct f2fs_dir_entry *dentry, struct page *page,
}

if (bit_pos == NR_DENTRY_IN_BLOCK) {
loff_t page_offset;
truncate_hole(dir, page->index, page->index + 1);
clear_page_dirty_for_io(page);
ClearPageUptodate(page);
dec_page_count(sbi, F2FS_DIRTY_DENTS);
inode_dec_dirty_dents(dir);
page_offset = page->index << PAGE_CACHE_SHIFT;
f2fs_put_page(page, 1);
} else {
f2fs_put_page(page, 1);
Expand Down
2 changes: 0 additions & 2 deletions trunk/fs/f2fs/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ static int f2fs_vm_page_mkwrite(struct vm_area_struct *vma,
struct page *page = vmf->page;
struct inode *inode = vma->vm_file->f_path.dentry->d_inode;
struct f2fs_sb_info *sbi = F2FS_SB(inode->i_sb);
struct page *node_page;
block_t old_blk_addr;
struct dnode_of_data dn;
int err;
Expand All @@ -50,7 +49,6 @@ static int f2fs_vm_page_mkwrite(struct vm_area_struct *vma,
}

old_blk_addr = dn.data_blkaddr;
node_page = dn.node_page;

if (old_blk_addr == NULL_ADDR) {
err = reserve_new_block(&dn);
Expand Down

0 comments on commit 9a2d3e9

Please sign in to comment.