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

Ben Myers
2011-12-15T16:56:29Z

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@lst.de>
> Reviewed-by: Dave Chinner <dchinner@redhat.com>

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