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

Dave Chinner
2011-12-05T05:41:16Z

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@lst.de>

Anyway,

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

--
Dave Chinner
david@fromorbit.com