diff options
author | Jaegeuk Kim | 2016-01-25 10:46:58 -0800 |
---|---|---|
committer | Jaegeuk Kim | 2016-02-22 16:07:23 -0800 |
commit | 52f803371200bc86d4d028693d06a627fe11f740 (patch) | |
tree | 3f9e43b0bddc9c786e42397338b6933fde2e99dc /fs/f2fs/data.c | |
parent | 2049d4fcb057c263929bec480f2db079d25fd601 (diff) |
f2fs: don't need to sync node page at every time
In write_end, we don't need to sync inode page at every time.
Instead, we can expect f2fs_write_inode will update later.
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/data.c')
-rw-r--r-- | fs/f2fs/data.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c index a11a8c789cd5..24c65e9823b7 100644 --- a/fs/f2fs/data.c +++ b/fs/f2fs/data.c @@ -1627,7 +1627,6 @@ static int f2fs_write_end(struct file *file, if (pos + copied > i_size_read(inode)) { i_size_write(inode, pos + copied); mark_inode_dirty(inode); - update_inode_page(inode); } f2fs_put_page(page, 1); |