diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2020-05-05 00:06:27 +0300 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2020-05-06 23:17:21 +0300 |
commit | 8bc3b5e4b70d28f8edcafc3c9e4de515998eea9e (patch) | |
tree | 59e8f1785bb54830afde71283b3e54f6dfcff755 /fs/xfs/xfs_inode_item.c | |
parent | 840d493dff1abb0cb0d73417148a3eeecd5f30d9 (diff) | |
download | linux-8bc3b5e4b70d28f8edcafc3c9e4de515998eea9e.tar.xz |
xfs: clean up the error handling in xfs_swap_extents
Make sure we release resources properly if we cannot clean out the COW
extents in preparation for an extent swap.
Fixes: 96987eea537d6c ("xfs: cancel COW blocks before swapext")
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/xfs_inode_item.c')
0 files changed, 0 insertions, 0 deletions