]> asedeno.scripts.mit.edu Git - linux.git/commit
xfs: use ->t_dfops in cancel cow blocks operation
authorBrian Foster <bfoster@redhat.com>
Thu, 12 Jul 2018 05:26:18 +0000 (22:26 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Thu, 12 Jul 2018 05:26:18 +0000 (22:26 -0700)
commit27356a063a8572b2d3bf57d92b0a12399478958a
tree261d7c2350840b70b258c0c67962aa2041421f49
parent7a7943c7e09546d4cc78b9756de23fd395b2cba4
xfs: use ->t_dfops in cancel cow blocks operation

Use ->t_dfops of the transaction from the caller. Reset it before we
return to avoid leaks of local stack memory.

Signed-off-by: Brian Foster <bfoster@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