diff options
author | Chao Yu <chao2.yu@samsung.com> | 2014-06-12 07:25:01 +0200 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2014-07-09 23:04:24 +0200 |
commit | 5576cd6ca555bd79e76a2d798aec44b28851d369 (patch) | |
tree | 55e002e47d56e61d6c7efd0a464c1b0b92795b80 /fs/f2fs/data.c | |
parent | Merge tag 'f2fs-fixes-3.16' of git://git.kernel.org/pub/scm/linux/kernel/git/... (diff) | |
download | linux-5576cd6ca555bd79e76a2d798aec44b28851d369.tar.xz linux-5576cd6ca555bd79e76a2d798aec44b28851d369.zip |
f2fs: avoid unneeded SetPageUptodate in f2fs_write_end
We have already set page update in ->write_begin, so we should remove redundant
SetPageUptodate in ->write_end.
Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to '')
-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 f8cf619edb5f..2eb2764173ca 100644 --- a/fs/f2fs/data.c +++ b/fs/f2fs/data.c @@ -1016,7 +1016,6 @@ static int f2fs_write_end(struct file *file, trace_f2fs_write_end(inode, pos, len, copied); - SetPageUptodate(page); set_page_dirty(page); if (pos + copied > i_size_read(inode)) { |