summaryrefslogtreecommitdiffstats
path: root/fs/f2fs
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2014-11-18 10:50:21 -0800
committerJaegeuk Kim <jaegeuk@kernel.org>2014-11-23 21:48:31 -0800
commit09b8b3c83971c82fd1a0ae32625b3be2aa891688 (patch)
treefba12b5efc46cfa43d6a3585d24f1642825c0e14 /fs/f2fs
parent857dc4e0598e2a95b1cbb8d17c8538b34cc9a2f3 (diff)
downloadlinux-09b8b3c83971c82fd1a0ae32625b3be2aa891688.tar.bz2
f2fs: call flush_dcache_page when the page was updated
Whenever f2fs updates mapped pages, it needs to call flush_dcache_page. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs')
-rw-r--r--fs/f2fs/inline.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/f2fs/inline.c b/fs/f2fs/inline.c
index f26fb87da163..914b6d37c5cf 100644
--- a/fs/f2fs/inline.c
+++ b/fs/f2fs/inline.c
@@ -106,6 +106,7 @@ int f2fs_convert_inline_page(struct dnode_of_data *dn, struct page *page)
src_addr = inline_data_addr(dn->inode_page);
dst_addr = kmap_atomic(page);
memcpy(dst_addr, src_addr, MAX_INLINE_DATA);
+ flush_dcache_page(page);
kunmap_atomic(dst_addr);
SetPageUptodate(page);
no_update: