summaryrefslogtreecommitdiff
path: root/fs/affs/file.c
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2013-09-10 14:43:12 +1000
committerStephen Rothwell <sfr@canb.auug.org.au>2013-09-10 14:43:12 +1000
commit41aa594a367ee1a8bc00d4ae9b50eee7e5cf6d4c (patch)
tree73dce1050d24b83279a972414e84adf03a0109a5 /fs/affs/file.c
parent02479717326aac5316d0081f578715d924045fc2 (diff)
parentc1be48e758a61b1b63c621646691ead532625a40 (diff)
Merge branch 'akpm/master'
Diffstat (limited to 'fs/affs/file.c')
-rw-r--r--fs/affs/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/affs/file.c b/fs/affs/file.c
index 6e32e3b4b681..664f743c2d8d 100644
--- a/fs/affs/file.c
+++ b/fs/affs/file.c
@@ -406,7 +406,7 @@ static void affs_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);
affs_truncate(inode);
}
}