mirror of
https://github.com/torvalds/linux.git
synced 2024-11-15 08:31:55 +00:00
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>
This commit is contained in:
parent
ca4b02eeed
commit
427a45c8e2
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user