Re: [PATCH] Adjust reiser4 for 3.15: replace truncate_inode_pages(..., 0) with truncate_inode_pages_final(...).

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks!
I'll backward port it...

Edward.

On 02/13/2015 01:49 PM, Ivan Shapovalov wrote:
Upstream commit 91b0abe36a7b2b3b02d7500925a5f8455334f0e5
"mm + fs: store shadow entries in page cache".

Signed-off-by: Ivan Shapovalov <intelfx100@xxxxxxxxx>
---

We have missed this one long ago...

  fs/reiser4/super_ops.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/reiser4/super_ops.c b/fs/reiser4/super_ops.c
index acff93a..7e319bb 100644
--- a/fs/reiser4/super_ops.c
+++ b/fs/reiser4/super_ops.c
@@ -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);

--
To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux File System Development]     [Linux BTRFS]     [Linux NFS]     [Linux Filesystems]     [Ext4 Filesystem]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Resources]

  Powered by Linux