diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2017-09-18 09:41:18 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-10-27 10:39:16 +0200 |
commit | ee5d69c908a1d521be0e3d9adaeed84d644be5ef (patch) | |
tree | ebb6fbd22073e4eb6465426798d346f1da152b6d /fs/xfs/xfs_reflink.c | |
parent | 2888145444f1cca68d001be9fbf80930c7383a23 (diff) |
xfs: always swap the cow forks when swapping extents
commit 52bfcdd7adbc26639bc7b2356ab9a3f5dad68ad6 upstream.
Since the CoW fork exists as a secondary data structure to the data
fork, we must always swap cow forks during swapext. We also need to
swap the extent counts and reset the cowblocks tags.
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/xfs/xfs_reflink.c')
0 files changed, 0 insertions, 0 deletions