From: Brian Foster Date: Tue, 27 Aug 2013 21:15:45 +0000 (-0400) Subject: xfs: check correct status variable for xfs_inobt_get_rec() call X-Git-Tag: v3.12-rc1~80^2~5 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b121099d84b0311a26ca04d33961febb33580fe4;p=pandora-kernel.git xfs: check correct status variable for xfs_inobt_get_rec() call 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 Reviewed-by: Eric Sandeen Reviewed-by: Dave Chinner Signed-off-by: Ben Myers --- Reading git-diff-tree failed