summaryrefslogtreecommitdiffstats
path: root/fs/xfs/scrub
diff options
context:
space:
mode:
authorEric Sandeen2017-11-28 03:23:32 +0100
committerDarrick J. Wong2017-11-28 17:57:11 +0100
commitd41c6172bd4031979eab722c265a2e5764383c3c (patch)
tree2d18e46cefdb44b649a1e60d4ab6e111c2eb5dfe /fs/xfs/scrub
parentxfs: fortify xfs_alloc_buftarg error handling (diff)
downloadkernel-qcow2-linux-d41c6172bd4031979eab722c265a2e5764383c3c.tar.gz
kernel-qcow2-linux-d41c6172bd4031979eab722c265a2e5764383c3c.tar.xz
kernel-qcow2-linux-d41c6172bd4031979eab722c265a2e5764383c3c.zip
xfs: fix leaks on corruption errors in xfs_bmap.c
Use _GOTO instead of _RETURN so we can free the allocated cursor on error. Fixes: bf80628 ("xfs: remove xfs_bmse_shift_one") Fixes-coverity-id: 1423813, 1423676 Signed-off-by: Eric Sandeen <sandeen@redhat.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/scrub')
0 files changed, 0 insertions, 0 deletions