diff options
author | Dave Chinner <dchinner@redhat.com> | 2015-06-22 10:13:19 +1000 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2015-06-22 10:13:19 +1000 |
commit | 396503fc8397e9c832503dd5669c0f11c5e4d046 (patch) | |
tree | b46fb58e3f5afa2b27ef258fdc4cdad004a04b28 /fs/xfs/libxfs/xfs_trans_resv.h | |
parent | 72d552854b96b3e2a2c547a5e5a798a17dfda650 (diff) | |
download | linux-396503fc8397e9c832503dd5669c0f11c5e4d046.tar.bz2 |
xfs: sanitise error handling in xfs_alloc_fix_freelist
The error handling is currently an inconsistent mess as every error
condition handles return values and releasing buffers individually.
Clean this up by using gotos and a sane error label stack.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/libxfs/xfs_trans_resv.h')
0 files changed, 0 insertions, 0 deletions