projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
191d385
)
f2fs: avoid unneeded SetPageUptodate in f2fs_write_end
author
Chao Yu
<chao2.yu@samsung.com>
Thu, 12 Jun 2014 05:25:01 +0000
(13:25 +0800)
committer
Jaegeuk Kim
<jaegeuk@kernel.org>
Wed, 9 Jul 2014 21:04:24 +0000
(14:04 -0700)
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>
fs/f2fs/data.c
patch
|
blob
|
history
diff --git
a/fs/f2fs/data.c
b/fs/f2fs/data.c
index
f8cf619
..
2eb2764
100644
(file)
--- 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)) {