f2fs: avoid unneeded SetPageUptodate in f2fs_write_end
Subsystems (2)
PATCH 2/3 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 <[email protected]>
--- fs/f2fs/data.c | 1 - 1 file changed, 1 deletion(-)
fs/f2fs/data.c +0 -1
@@ -1003,7 +1003,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)) {
Signature · 10 lines
1.7.9.5 ------------------------------------------------------------------------------ HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing & Easy Data Exploration http://p.sf.net/sfu/hpccsystems