diff options
author | Namjae Jeon <namjae.jeon@samsung.com> | 2013-04-28 00:04:18 (GMT) |
---|---|---|
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2013-05-28 06:03:02 (GMT) |
commit | 9851e6e18943f2537acb44a4eb51c6958e8dbc3e (patch) | |
tree | 0d7b1320573fccb84bf7275f817c52728cd0a38e /fs/f2fs/namei.c | |
parent | 145b04e5ed66033b5a3d315394dd1384e3f5f70a (diff) | |
download | linux-fsl-qoriq-9851e6e18943f2537acb44a4eb51c6958e8dbc3e.tar.xz |
f2fs: reorganize f2fs_vm_page_mkwrite
Few things can be changed in the default mkwrite function
1) Make file_update_time at the start before acquiring any lock
2) the condition page_offset(page) >= i_size_read(inode) should be
changed to page_offset(page) > i_size_read
3) Move wait_on_page_writeback.
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Amit Sahrawat <a.sahrawat@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'fs/f2fs/namei.c')
0 files changed, 0 insertions, 0 deletions