xfs: use internal dfops in cow blocks cancel
authorBrian Foster <bfoster@redhat.com>
Tue, 24 Jul 2018 20:43:12 +0000 (13:43 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Thu, 26 Jul 2018 17:15:14 +0000 (10:15 -0700)
commit1e5ae1995a44f2b7a03f08a10504568a96040a8c
tree2038ec6b22a8ddd7198fea7c1518d0125f4c3966
parente021a2e5fc520d930f949f303e7307038e258645
xfs: use internal dfops in cow blocks cancel

All callers either explicitly initialize a dfops or pass a
transaction with an internal dfops. Drop the hacky old dfops
replacement logic and use the one associated with the transaction.

Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Bill O'Donnell <billodo@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_reflink.c