[PATCH 13/16] xfs: add a xfs_dqhold helper

Dave Chinner david at fromorbit.com
Sun Dec 4 23:22:34 CST 2011


On Mon, Nov 28, 2011 at 03:27:35AM -0500, Christoph Hellwig wrote:
> Factor the common pattern of:
> 
> 	xfs_dqlock(dqp);
> 	XFS_DQHOLD(dqp);
> 	xfs_dqunlock(dqp);
> 
> into a new helper, and remove XFS_DQHOLD now that only two callers are left.

I only saw one caller left in the patch that was open coded....

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

Anyway,

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

-- 
Dave Chinner
david at fromorbit.com




More information about the xfs mailing list