[patch 16/19] xfs: add a xfs_dqhold helper

Ben Myers bpm at sgi.com
Thu Dec 15 10:56:53 CST 2011


On Tue, Dec 06, 2011 at 04:58:22PM -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 one other caller
> is left.
> 
> Signed-off-by: Christoph Hellwig <hch at lst.de>
> Reviewed-by: Dave Chinner <dchinner at redhat.com>

Looks good.
Reviewed-by: Ben Myers <bpm at sgi.com>




More information about the xfs mailing list