diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2016-10-10 17:23:07 +1100 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2016-10-10 17:23:07 +1100 |
commit | 6f97077ff6ef28e0f3b361b6ba9c95a222ef384b (patch) | |
tree | c541a0d113af184d0d45e3eddb3f89d434fdad58 /lib/atomic64_test.c | |
parent | 1987fd743415564e8c67f2f7ec0ae3c18a6b11cd (diff) |
xfs: rework refcount cow recovery error handling
The error handling in xfs_refcount_recover_cow_leftovers is confused
and can potentially leak memory, so rework it to release resources
correctly on error.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reported-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'lib/atomic64_test.c')
0 files changed, 0 insertions, 0 deletions