[Ocfs2-devel] [PATCH 7/7] ocfs2: add quota call to ocfs2_remove_btree_range()

Joel Becker Joel.Becker at oracle.com
Fri Jan 30 17:37:18 PST 2009


On Fri, Jan 30, 2009 at 01:42:33PM -0800, Mark Fasheh wrote:
> 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.
> 
> Cc: Jan Kara <jack at suse.cz>
> Signed-off-by: Mark Fasheh <mfasheh at suse.com>

Looks good to me, though I think it's for Jan's Ack.

Joel

-- 

"For every complex problem there exists a solution that is brief,
     concise, and totally wrong."
                                        -Unknown

Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127



More information about the Ocfs2-devel mailing list