f2fs: fix to set PageUptodate by f2fs_write_end correctly
Previously, f2fs_write_begin sets PageUptodate all the time. But, when user
tries to update the entire page (i.e., len == PAGE_SIZE), we need to consider
that the page is able to be overwritten partially afterwards.
So, given exact copied variable, f2fs_write_end should handle page's flag
accordingly.
Reported-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
This page took 0.025206 seconds and 5 git commands to generate.