mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-11-07 04:09:21 +00:00
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>
This commit is contained in:
parent
7720faf5dc
commit
2af5a2b3b7
1 changed files with 0 additions and 1 deletions
|
@ -1628,7 +1628,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);
|
||||
|
|
Loading…
Reference in a new issue