diff options
author | Brian Foster <bfoster@redhat.com> | 2013-08-27 23:15:45 +0200 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2013-08-30 20:48:35 +0200 |
commit | b121099d84b0311a26ca04d33961febb33580fe4 (patch) | |
tree | ab2956786bbcc78c7fd5fe8176e726790832fc94 /fs/xfs/xfs_trans.h | |
parent | xfs: inode buffers may not be valid during recovery readahead (diff) | |
download | linux-b121099d84b0311a26ca04d33961febb33580fe4.tar.xz linux-b121099d84b0311a26ca04d33961febb33580fe4.zip |
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 <bfoster@redhat.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_trans.h')
0 files changed, 0 insertions, 0 deletions