]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc4ef2d1f671db2a1ee941239d46928572a006c57
tree2038ec6b22a8ddd7198fea7c1518d0125f4c3966
parent3d4b7fde56c172769a001e5ebd5ec802c9617f84
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