commit | 33f38513bd1502aeae05b2eff47369e8caa46fc1 | [log] [tgz] |
---|---|---|
author | Dave Chinner <dchinner@redhat.com> | Fri Jul 03 11:54:38 2015 +1000 |
committer | Dave Chinner <david@fromorbit.com> | Fri Jul 03 11:54:38 2015 +1000 |
tree | fb2853837e8eee9f3bd5eee2ee4546c7a3cceee1 | |
parent | d37baa71273ba127f04d767aceb1e6e6802b6d8c [diff] |
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>