diff options
Diffstat (limited to 'fs/jfs')
-rw-r--r-- | fs/jfs/inode.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/jfs/inode.c b/fs/jfs/inode.c index 767c7ecb429e..cff352f4ec18 100644 --- a/fs/jfs/inode.c +++ b/fs/jfs/inode.c | |||
@@ -132,6 +132,8 @@ void jfs_delete_inode(struct inode *inode) | |||
132 | (JFS_IP(inode)->fileset != cpu_to_le32(FILESYSTEM_I))) | 132 | (JFS_IP(inode)->fileset != cpu_to_le32(FILESYSTEM_I))) |
133 | return; | 133 | return; |
134 | 134 | ||
135 | truncate_inode_pages(&inode->i_data, 0); | ||
136 | |||
135 | if (test_cflag(COMMIT_Freewmap, inode)) | 137 | if (test_cflag(COMMIT_Freewmap, inode)) |
136 | jfs_free_zero_link(inode); | 138 | jfs_free_zero_link(inode); |
137 | 139 | ||