From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id p6641Js7065392 for ; Tue, 5 Jul 2011 23:01:20 -0500 Subject: Re: [PATCH 24/27] xfs: clean up buffer locking helpers From: Alex Elder In-Reply-To: <20110701094607.155544131@bombadil.infradead.org> References: <20110701094321.936534538@bombadil.infradead.org> <20110701094607.155544131@bombadil.infradead.org> Date: Tue, 5 Jul 2011 22:55:06 -0500 Message-ID: <1309924506.3381.48.camel@doink> MIME-Version: 1.0 Reply-To: aelder@sgi.com 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 Fri, 2011-07-01 at 05:43 -0400, Christoph Hellwig wrote: > Rename xfs_buf_cond_lock and reverse it's return value to fit most other > trylock operations in the Kernel and XFS (with the exception of down_trylock, > after which xfs_buf_cond_lock was modelled), and replace xfs_buf_lock_val > with an xfs_buf_islocked for use in asserts, or and opencoded variant in > tracing. remove the XFS_BUF_* wrappers for all the locking helpers. > > Signed-off-by: Christoph Hellwig Nice change. More readable. Reviewed-by: Alex Elder _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs