Darrick J. Wong 6f97077ff6 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>
2016-10-10 17:23:07 +11:00
..
2014-06-25 14:57:36 +10:00
2014-06-25 14:57:36 +10:00
2014-06-25 14:57:36 +10:00
2014-06-25 14:57:36 +10:00
2014-06-25 14:57:36 +10:00
2016-07-20 11:48:31 +10:00
2016-07-20 11:48:31 +10:00
2016-10-04 18:06:40 -07:00
2016-10-04 18:06:40 -07:00
2016-10-04 18:06:40 -07:00