]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: clear page uptodate when dropping cache for atomic write
authorChao Yu <chao2.yu@samsung.com>
Fri, 13 Nov 2015 10:27:35 +0000 (18:27 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 4 Dec 2015 19:52:35 +0000 (11:52 -0800)
commite2b87173135224e8214a4a904b5b7e0646161195
tree78e2adb81e2a2590e95fa00f8c928f0a71781f68
parentb14768ef1a8e71ad2231c6ac45961a7a583b0d52
f2fs: clear page uptodate when dropping cache for atomic write

We should clear uptodate flag for all pages atomic written when we drop
them, otherwise before these cached pages were reclaimed or invalidated
eventually, we will see invalid data when hitting them again.

Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/segment.c