VisionFive2 Linux kernel

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

More than 9999 Commits   32 Branches   54 Tags
author: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> 2013-09-12 15:13:56 -0700 committer: Linus Torvalds <torvalds@linux-foundation.org> 2013-09-12 15:38:02 -0700 commit: 7caef26767c1727d7abfbbbfbe8b2bb473430d48 parent: 5fbc461636c32efdb9d5216d491d37a40d54535b
Commit Summary:
truncate: drop 'oldsize' truncate_pagecache() parameter
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/omfs/file.c b/fs/omfs/file.c
index e0d9b3e722bd..54d57d6ba68d 100644
--- a/fs/omfs/file.c
+++ b/fs/omfs/file.c
@@ -311,7 +311,7 @@ static void omfs_write_failed(struct address_space *mapping, loff_t to)
 	struct inode *inode = mapping->host;
 
 	if (to > inode->i_size) {
-		truncate_pagecache(inode, to, inode->i_size);
+		truncate_pagecache(inode, inode->i_size);
 		omfs_truncate(inode);
 	}
 }