diff options
Diffstat (limited to 'fs/jfs/inode.c')
-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 37da3e33e75..0ec62d5310d 100644 --- a/fs/jfs/inode.c +++ b/fs/jfs/inode.c @@ -131,6 +131,8 @@ void jfs_delete_inode(struct inode *inode) if (!is_bad_inode(inode) && (JFS_IP(inode)->fileset == cpu_to_le32(FILESYSTEM_I))) { + truncate_inode_pages(&inode->i_data, 0); + if (test_cflag(COMMIT_Freewmap, inode)) jfs_free_zero_link(inode); |