diff --git a/fs/reiserfs/inode.c b/fs/reiserfs/inode.c index 57917932212eb33d68a0f626766c79fb608c442a..192269698a8ac44b3b7c58a327d7fde6d35db375 100644 --- a/fs/reiserfs/inode.c +++ b/fs/reiserfs/inode.c @@ -45,6 +45,8 @@ void reiserfs_delete_inode(struct inode *inode) goto out; reiserfs_update_inode_transaction(inode); + reiserfs_discard_prealloc(&th, inode); + err = reiserfs_delete_object(&th, inode); /* Do quota update inside a transaction for journaled quotas. We must do that