From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q2FM75xf201430 for ; Thu, 15 Mar 2012 17:07:05 -0500 Received: from ipmail04.adl6.internode.on.net (ipmail04.adl6.internode.on.net [150.101.137.141]) by cuda.sgi.com with ESMTP id ynQSyS9briLsPEUB for ; Thu, 15 Mar 2012 15:07:03 -0700 (PDT) Date: Fri, 16 Mar 2012 09:07:01 +1100 From: Dave Chinner Subject: Re: [PATCH v2] xfs: Fix oops on IO error during xlog_recover_process_iunlinks() Message-ID: <20120315220701.GN5091@dastard> References: <1331801705-1145-1-git-send-email-jack@suse.cz> <20120315090800.GA2887@infradead.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20120315090800.GA2887@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: Ben Myers , Alex Elder , Jan Kara , stable@kernel.org, xfs@oss.sgi.com On Thu, Mar 15, 2012 at 05:08:00AM -0400, Christoph Hellwig wrote: > > + xfs_buf_hold(agibp); > > + xfs_buf_relse(agibp); > > This is a very awkward way to write > > xfs_buf_unlock(agibp); /me slaps forehead. -- Dave Chinner david@fromorbit.com _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs