projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/fs/f2fs/data.c
b/fs/f2fs/data.c
index f8cf619edb5fc3f3b6035fb3786b4b08937e3ca5..2eb2764173cad6b6d447a7e2c2498c38b0d771d2 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)) {