diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2016-10-10 08:23:07 +0200 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2016-10-10 08:23:07 +0200 |
commit | 6f97077ff6ef28e0f3b361b6ba9c95a222ef384b (patch) | |
tree | c541a0d113af184d0d45e3eddb3f89d434fdad58 /net/can | |
parent | xfs: clear reflink flag if setting realtime flag (diff) | |
download | linux-6f97077ff6ef28e0f3b361b6ba9c95a222ef384b.tar.xz linux-6f97077ff6ef28e0f3b361b6ba9c95a222ef384b.zip |
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 'net/can')
0 files changed, 0 insertions, 0 deletions