diff options
Diffstat (limited to 'fs/ntfs/file.c')
-rw-r--r-- | fs/ntfs/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ntfs/file.c b/fs/ntfs/file.c index c5670b8d198c..ea4ba9daeb47 100644 --- a/fs/ntfs/file.c +++ b/fs/ntfs/file.c | |||
@@ -1768,7 +1768,7 @@ static void ntfs_write_failed(struct address_space *mapping, loff_t to) | |||
1768 | struct inode *inode = mapping->host; | 1768 | struct inode *inode = mapping->host; |
1769 | 1769 | ||
1770 | if (to > inode->i_size) { | 1770 | if (to > inode->i_size) { |
1771 | truncate_pagecache(inode, to, inode->i_size); | 1771 | truncate_pagecache(inode, inode->i_size); |
1772 | ntfs_truncate_vfs(inode); | 1772 | ntfs_truncate_vfs(inode); |
1773 | } | 1773 | } |
1774 | } | 1774 | } |