[PATCH 06/16] xfs: cleanup xfs_qm_dqlookup

Dave Chinner david at fromorbit.com
Sun Dec 4 22:17:32 CST 2011


On Mon, Nov 28, 2011 at 03:27:28AM -0500, Christoph Hellwig wrote:
> Rearrange the code to avoid the conditional locking around the flist_locked
> variable.  This means we lose a (rather pointless) assert, and hold the
> freelist lock a bit longer for one corner case.

Hardly worth mentioning that corner case - all we do is hold the
mutex while doing a XFS_DQHOLD() instead of dropping it first, which
we do for the other case, anyway.

> Signed-off-by: Christoph Hellwig <hch at lst.de>

Otherwise,

Reviewed-by: Dave Chinner <dchinner at redhat.com>


-- 
Dave Chinner
david at fromorbit.com




More information about the xfs mailing list