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:
857dc4e
)
f2fs: call flush_dcache_page when the page was updated
author
Jaegeuk Kim
<jaegeuk@kernel.org>
Tue, 18 Nov 2014 18:50:21 +0000
(10:50 -0800)
committer
Jaegeuk Kim
<jaegeuk@kernel.org>
Mon, 24 Nov 2014 05:48:31 +0000
(21:48 -0800)
Whenever f2fs updates mapped pages, it needs to 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 f26fb87da1633347c918d6dc5ed1ec16a95cf71e..914b6d37c5cff64c5d22b487945c08dbbbdde69f 100644
(file)
--- 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: