diff options
author | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2013-05-20 02:55:50 +0200 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2013-05-28 08:03:01 +0200 |
commit | 64aa7ed98db489d1c41ef140876ada38498678ab (patch) | |
tree | 47aacafa1511c4116f3bf383a9bbee1efef2cc0f /fs/f2fs/file.c | |
parent | f2fs: skip get_node_page if locked node page is passed (diff) | |
download | linux-64aa7ed98db489d1c41ef140876ada38498678ab.tar.xz linux-64aa7ed98db489d1c41ef140876ada38498678ab.zip |
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/file.c')
-rw-r--r-- | fs/f2fs/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/file.c b/fs/f2fs/file.c index 1cae864f8dfc..b8e34db37ae8 100644 --- a/fs/f2fs/file.c +++ b/fs/f2fs/file.c @@ -387,7 +387,7 @@ static void fill_zero(struct inode *inode, pgoff_t index, f2fs_balance_fs(sbi); ilock = mutex_lock_op(sbi); - page = get_new_data_page(inode, index, false); + page = get_new_data_page(inode, NULL, index, false); mutex_unlock_op(sbi, ilock); if (!IS_ERR(page)) { |