diff options
Diffstat (limited to 'fs/minix')
-rw-r--r-- | fs/minix/inode.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/minix/inode.c b/fs/minix/inode.c index 3f18c21198d7..790cc0d0e970 100644 --- a/fs/minix/inode.c +++ b/fs/minix/inode.c | |||
@@ -24,6 +24,7 @@ static int minix_remount (struct super_block * sb, int * flags, char * data); | |||
24 | 24 | ||
25 | static void minix_delete_inode(struct inode *inode) | 25 | static void minix_delete_inode(struct inode *inode) |
26 | { | 26 | { |
27 | truncate_inode_pages(&inode->i_data, 0); | ||
27 | inode->i_size = 0; | 28 | inode->i_size = 0; |
28 | minix_truncate(inode); | 29 | minix_truncate(inode); |
29 | minix_free_inode(inode); | 30 | minix_free_inode(inode); |