Adjust reiser4 for 3.15: replace truncate_inode_pages(..., 0) with truncate_inode_pages_final(...).
PATCH 1/1 Adjust reiser4 for 3.15: replace truncate_inode_pages(..., 0) with truncate_inode_pages_final(...).
Upstream commit 91b0abe36a7b2b3b02d7500925a5f8455334f0e5 "mm + fs: store shadow entries in page cache".
Signed-off-by Ivan Shapovalov <[email protected]>
---
We have missed this one long ago...
fs/reiser4/super_ops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/reiser4/super_ops.c +1 -1
@@ -214,7 +214,7 @@ static void reiser4_evict_inode(struct inode *inode) fplug->delete_object (inode); } -truncate_inode_pages (&inode->i_data,0 ); +truncate_inode_pages_final (&inode->i_data); inode->i_blocks =0 ;clear_inode (inode);reiser4_exit_context (ctx);
Signature · 1 line
2.3.0
Thanks!
I'll backward port it...
Edward.
Quoted 24 lines · Ivan Shapovalov
Upstream commit
91b0abe36a7b2b3b02d7500925a5f8455334f0e5"mm + fs: store shadow entries in page cache".Signed-off-by Ivan Shapovalov <[email protected]>---
We have missed this one long ago...
fs/reiser4/super_ops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)fs/reiser4/super_ops.c +1
-1@@ -214,7 +214,7 @@ static void reiser4_evict_inode(struct inode *inode) fplug->delete_object (inode); } -truncate_inode_pages (&inode->i_data,0 ); +truncate_inode_pages_final (&inode->i_data); inode->i_blocks =0 ;clear_inode (inode);reiser4_exit_context (ctx);