From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29]) by oss.sgi.com (Postfix) with ESMTP id CDCD77F54 for ; Fri, 30 Aug 2013 13:49:38 -0500 (CDT) Date: Fri, 30 Aug 2013 13:49:38 -0500 From: Ben Myers Subject: Re: [PATCH] xfs: check correct status variable for xfs_inobt_get_rec() call Message-ID: <20130830184938.GH1935@sgi.com> References: <1377638145-18800-1-git-send-email-bfoster@redhat.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1377638145-18800-1-git-send-email-bfoster@redhat.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 Errors-To: xfs-bounces@oss.sgi.com Sender: xfs-bounces@oss.sgi.com To: Brian Foster Cc: xfs@oss.sgi.com On Tue, Aug 27, 2013 at 05:15:45PM -0400, Brian Foster wrote: > The call to xfs_inobt_get_rec() in xfs_dialloc_ag() passes 'j' as > the output status variable. The immediately following > XFS_WANT_CORRUPTED_GOTO() checks the value of 'i,' which is from > the previous lookup call and has already been checked. Fix the > corruption check to use 'j.' > > Signed-off-by: Brian Foster Applied. _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs