xfs
[Top] [All Lists]

Re: [PATCH] xfs: check correct status variable for xfs_inobt_get_rec() c

To: Brian Foster <bfoster@xxxxxxxxxx>
Subject: Re: [PATCH] xfs: check correct status variable for xfs_inobt_get_rec() call
From: Ben Myers <bpm@xxxxxxx>
Date: Fri, 30 Aug 2013 13:49:38 -0500
Cc: xfs@xxxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <1377638145-18800-1-git-send-email-bfoster@xxxxxxxxxx>
References: <1377638145-18800-1-git-send-email-bfoster@xxxxxxxxxx>
User-agent: Mutt/1.5.20 (2009-06-14)
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 <bfoster@xxxxxxxxxx>

Applied.

<Prev in Thread] Current Thread [Next in Thread>