xfs: swap inode reflink flags when swapping inode extents
authorDarrick J. Wong <darrick.wong@oracle.com>
Mon, 3 Oct 2016 16:11:42 +0000 (09:11 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Wed, 5 Oct 2016 23:26:26 +0000 (16:26 -0700)
commitf0bc4d134b46607967bda1205ce3226a1bd95f42
tree66de3ee88dd2559f99a03e091972936df7a213ca
parentf86f403794b1446b68afb3c233d4c0bc0e93b654
xfs: swap inode reflink flags when swapping inode extents

When we're swapping the extents of two inodes, be sure to swap the
reflink inode flag too.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/xfs_bmap_util.c