diff options
author | Chao Yu <chao2.yu@samsung.com> | 2014-06-12 13:25:01 +0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2014-07-09 14:04:24 -0700 |
commit | 5576cd6ca555bd79e76a2d798aec44b28851d369 (patch) | |
tree | 55e002e47d56e61d6c7efd0a464c1b0b92795b80 /fs/f2fs | |
parent | 191d385f253a317ed905b06137b48e5990e700cf (diff) |
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 'fs/f2fs')
-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)) { |