From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay.sgi.com (relay3.corp.sgi.com [198.149.34.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id pBFGuScx015340 for ; Thu, 15 Dec 2011 10:56:29 -0600 Date: Thu, 15 Dec 2011 10:56:53 -0600 From: Ben Myers Subject: Re: [patch 16/19] xfs: add a xfs_dqhold helper Message-ID: <20111215165653.GJ29840@sgi.com> References: <20111206215806.844405397@bombadil.infradead.org> <20111206215855.483263030@bombadil.infradead.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20111206215855.483263030@bombadil.infradead.org> List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: xfs-bounces@oss.sgi.com Errors-To: xfs-bounces@oss.sgi.com To: Christoph Hellwig Cc: xfs@oss.sgi.com 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 > Reviewed-by: Dave Chinner Looks good. Reviewed-by: Ben Myers _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs