diff options
Diffstat (limited to 'fs/adfs/inode.c')
-rw-r--r-- | fs/adfs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/adfs/inode.c b/fs/adfs/inode.c index 5f95d1ed9c6d..b9acadafa4a1 100644 --- a/fs/adfs/inode.c +++ b/fs/adfs/inode.c | |||
@@ -50,7 +50,7 @@ static void adfs_write_failed(struct address_space *mapping, loff_t to) | |||
50 | struct inode *inode = mapping->host; | 50 | struct inode *inode = mapping->host; |
51 | 51 | ||
52 | if (to > inode->i_size) | 52 | if (to > inode->i_size) |
53 | truncate_pagecache(inode, to, inode->i_size); | 53 | truncate_pagecache(inode, inode->i_size); |
54 | } | 54 | } |
55 | 55 | ||
56 | static int adfs_write_begin(struct file *file, struct address_space *mapping, | 56 | static int adfs_write_begin(struct file *file, struct address_space *mapping, |