xfs: remove xfs_reflink_trim_irec_to_next_cow
authorChristoph Hellwig <hch@lst.de>
Thu, 12 Jul 2018 05:25:59 +0000 (22:25 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Thu, 12 Jul 2018 05:25:59 +0000 (22:25 -0700)
commitfca8c805425c0d9435097a6c780e95332e54613a
tree7f2fa7bf4e3dc5386e5f6a3a2df28af7537de20a
parenta7b28f72ab90fe7a2f438360df5f6fda4237afdc
xfs: remove xfs_reflink_trim_irec_to_next_cow

We already have to check for overlapping COW extents everytime we
come back to a page in xfs_writepage_map / xfs_map_cow, so this
additional trim is not required.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_aops.c
fs/xfs/xfs_reflink.c
fs/xfs/xfs_reflink.h
fs/xfs/xfs_trace.h