diff options
Diffstat (limited to 'fs/jfs/inode.c')
-rw-r--r-- | fs/jfs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/jfs/inode.c b/fs/jfs/inode.c index 730f24e282a6..f4aab719add5 100644 --- a/fs/jfs/inode.c +++ b/fs/jfs/inode.c | |||
@@ -306,7 +306,7 @@ static void jfs_write_failed(struct address_space *mapping, loff_t to) | |||
306 | struct inode *inode = mapping->host; | 306 | struct inode *inode = mapping->host; |
307 | 307 | ||
308 | if (to > inode->i_size) { | 308 | if (to > inode->i_size) { |
309 | truncate_pagecache(inode, to, inode->i_size); | 309 | truncate_pagecache(inode, inode->i_size); |
310 | jfs_truncate(inode); | 310 | jfs_truncate(inode); |
311 | } | 311 | } |
312 | } | 312 | } |