projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca4b02e
)
f2fs: flush_dcache_page for inline data
author
Jaegeuk Kim
<jaegeuk@kernel.org>
Mon, 27 Oct 2014 05:59:27 +0000
(22:59 -0700)
committer
Jaegeuk Kim
<jaegeuk@kernel.org>
Tue, 4 Nov 2014 00:07:37 +0000
(16:07 -0800)
When reading inline data, we should call flush_dcache_page.
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/inline.c
patch
|
blob
|
history
diff --git
a/fs/f2fs/inline.c
b/fs/f2fs/inline.c
index d9daf76aa9cd7ef6ca6bdc7493357ca3f0f3127e..d6677d6bbd8971774fef2323cbadff420942731b 100644
(file)
--- 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: