diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2014-10-27 06:59:27 +0100 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2014-11-04 01:07:37 +0100 |
commit | 427a45c8e2395e0d24cb7fecc2ebf6e5e84e59fd (patch) | |
tree | 97de5a3943cff1b575022771077d168f49bdb15b /fs/f2fs/inline.c | |
parent | f2fs: call write_checkpoint under disabled gc (diff) | |
download | linux-427a45c8e2395e0d24cb7fecc2ebf6e5e84e59fd.tar.xz linux-427a45c8e2395e0d24cb7fecc2ebf6e5e84e59fd.zip |
f2fs: flush_dcache_page for inline data
When reading inline data, we should call flush_dcache_page.
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/inline.c')
-rw-r--r-- | fs/f2fs/inline.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/f2fs/inline.c b/fs/f2fs/inline.c index d9daf76aa9cd..d6677d6bbd89 100644 --- a/fs/f2fs/inline.c +++ b/fs/f2fs/inline.c @@ -57,6 +57,7 @@ int f2fs_read_inline_data(struct inode *inode, struct page *page) src_addr = inline_data_addr(ipage); dst_addr = kmap_atomic(page); memcpy(dst_addr, src_addr, MAX_INLINE_DATA); + flush_dcache_page(page); kunmap_atomic(dst_addr); f2fs_put_page(ipage, 1); out: |