commit | 6f97077ff6ef28e0f3b361b6ba9c95a222ef384b | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <darrick.wong@oracle.com> | Mon Oct 10 17:23:07 2016 +1100 |
committer | Dave Chinner <david@fromorbit.com> | Mon Oct 10 17:23:07 2016 +1100 |
tree | c541a0d113af184d0d45e3eddb3f89d434fdad58 | |
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>