diff options
Diffstat (limited to 'fs/sysv/inode.c')
-rw-r--r-- | fs/sysv/inode.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/sysv/inode.c b/fs/sysv/inode.c index 0530077d9dd8..fa33eceb0011 100644 --- a/fs/sysv/inode.c +++ b/fs/sysv/inode.c | |||
@@ -292,6 +292,7 @@ int sysv_sync_inode(struct inode * inode) | |||
292 | 292 | ||
293 | static void sysv_delete_inode(struct inode *inode) | 293 | static void sysv_delete_inode(struct inode *inode) |
294 | { | 294 | { |
295 | truncate_inode_pages(&inode->i_data, 0); | ||
295 | inode->i_size = 0; | 296 | inode->i_size = 0; |
296 | sysv_truncate(inode); | 297 | sysv_truncate(inode); |
297 | lock_kernel(); | 298 | lock_kernel(); |