aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nilfs2/inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nilfs2/inode.c')
-rw-r--r--fs/nilfs2/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nilfs2/inode.c b/fs/nilfs2/inode.c
index b1a5277cfd18..7e350c562e0e 100644
--- a/fs/nilfs2/inode.c
+++ b/fs/nilfs2/inode.c
@@ -254,7 +254,7 @@ void nilfs_write_failed(struct address_space *mapping, loff_t to)
254 struct inode *inode = mapping->host; 254 struct inode *inode = mapping->host;
255 255
256 if (to > inode->i_size) { 256 if (to > inode->i_size) {
257 truncate_pagecache(inode, to, inode->i_size); 257 truncate_pagecache(inode, inode->i_size);
258 nilfs_truncate(inode); 258 nilfs_truncate(inode);
259 } 259 }
260} 260}