]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - fs/omfs/file.c
truncate: drop 'oldsize' truncate_pagecache() parameter
[karo-tx-linux.git] / fs / omfs / file.c
index e0d9b3e722bd41f91cf4b58f76aa1f34e2684149..54d57d6ba68dd5b91df6cbc9269e1ccf3c05a950 100644 (file)
@@ -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);
        }
 }