VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Johannes Weiner <hannes@cmpxchg.org> 2014-04-03 14:47:49 -0700 committer: Linus Torvalds <torvalds@linux-foundation.org> 2014-04-03 16:21:01 -0700 commit: 91b0abe36a7b2b3b02d7500925a5f8455334f0e5 parent: 0cd6144aadd2afd19d1aca880153530c52957604
Commit Summary:
mm + fs: store shadow entries in page cache
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/omfs/inode.c b/fs/omfs/inode.c
index d8b0afde2179..ec58c7659183 100644
--- a/fs/omfs/inode.c
+++ b/fs/omfs/inode.c
@@ -183,7 +183,7 @@ int omfs_sync_inode(struct inode *inode)
  */
 static void omfs_evict_inode(struct inode *inode)
 {
-	truncate_inode_pages(&inode->i_data, 0);
+	truncate_inode_pages_final(&inode->i_data);
 	clear_inode(inode);
 
 	if (inode->i_nlink)