Skip to content
Commit fd4ef231 authored by Mark Fasheh's avatar Mark Fasheh
Browse files

ocfs2: add quota call to ocfs2_remove_btree_range()



We weren't reclaiming the clusters which get free'd from this function,
so any user punching holes in a file would still have those bytes accounted
against him/her. Add the call to vfs_dq_free_space_nodirty() to fix this.
Interestingly enough, the journal credits calculation already took this into
account.

Signed-off-by: default avatarMark Fasheh <mfasheh@suse.com>
Acked-by: default avatarJan Kara <jack@suse.cz>
parent a4b91965
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment