diff options
author | Eric Sandeen | 2017-11-28 03:23:32 +0100 |
---|---|---|
committer | Darrick J. Wong | 2017-11-28 17:57:11 +0100 |
commit | d41c6172bd4031979eab722c265a2e5764383c3c (patch) | |
tree | 2d18e46cefdb44b649a1e60d4ab6e111c2eb5dfe /fs/xfs/scrub | |
parent | xfs: fortify xfs_alloc_buftarg error handling (diff) | |
download | kernel-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