diff options
author | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2013-05-20 09:55:50 +0900 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2013-05-28 15:03:01 +0900 |
commit | 64aa7ed98db489d1c41ef140876ada38498678ab (patch) | |
tree | 47aacafa1511c4116f3bf383a9bbee1efef2cc0f /fs/f2fs/dir.c | |
parent | 1646cfac952ff87fcbc18a77164472aa61d08094 (diff) | |
download | kernel_goldelico_gta04-64aa7ed98db489d1c41ef140876ada38498678ab.zip kernel_goldelico_gta04-64aa7ed98db489d1c41ef140876ada38498678ab.tar.gz kernel_goldelico_gta04-64aa7ed98db489d1c41ef140876ada38498678ab.tar.bz2 |
f2fs: change get_new_data_page to pass a locked node page
This patch is for passing a locked node page to get_dnode_of_data.
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'fs/f2fs/dir.c')
-rw-r--r-- | fs/f2fs/dir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/f2fs/dir.c b/fs/f2fs/dir.c index 1ac6b93..7db6e58 100644 --- a/fs/f2fs/dir.c +++ b/fs/f2fs/dir.c @@ -287,7 +287,7 @@ static int make_empty_dir(struct inode *inode, struct inode *parent) struct f2fs_dir_entry *de; void *kaddr; - dentry_page = get_new_data_page(inode, 0, true); + dentry_page = get_new_data_page(inode, NULL, 0, true); if (IS_ERR(dentry_page)) return PTR_ERR(dentry_page); @@ -448,7 +448,7 @@ start: bidx = dir_block_index(level, (le32_to_cpu(dentry_hash) % nbucket)); for (block = bidx; block <= (bidx + nblock - 1); block++) { - dentry_page = get_new_data_page(dir, block, true); + dentry_page = get_new_data_page(dir, NULL, block, true); if (IS_ERR(dentry_page)) return PTR_ERR(dentry_page); |