Skip to contentSkip to conversation

Adjust reiser4 for 3.15: replace truncate_inode_pages(..., 0) with truncate_inode_pages_final(...).

PATCH In review Ivan Shapovalov 2 participants 2 messages Feb 13, 2015

lore
Share & tools
lore
#0 lore raw

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".

---

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
index acff93a..7e319bb 100644
@@ -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
#1 lore raw

Thanks!
I'll backward port it...

Edward.

Quoted 24 lines · Ivan Shapovalov

Upstream commit 91b0abe36a7b2b3b02d7500925a5f8455334f0e5 "mm + fs: store shadow entries in page cache".

---

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
index acff93a..7e319bb 100644
@@ -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);