aboutsummaryrefslogtreecommitdiffstats
path: root/fs/omfs
diff options
context:
space:
mode:
Diffstat (limited to 'fs/omfs')
-rw-r--r--fs/omfs/file.c2
1 files changed, 1 insertions, 1 deletions
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)
311 struct inode *inode = mapping->host; 311 struct inode *inode = mapping->host;
312 312
313 if (to > inode->i_size) { 313 if (to > inode->i_size) {
314 truncate_pagecache(inode, to, inode->i_size); 314 truncate_pagecache(inode, inode->i_size);
315 omfs_truncate(inode); 315 omfs_truncate(inode);
316 } 316 }
317} 317}