]> git.baikalelectronics.ru Git - kernel.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)
commitea40f07c732f2b9eef936e084b294148b824ca12
tree261d7c2350840b70b258c0c67962aa2041421f49
parent7172b0cf9ff8c428ad39f70e6bd7ecea10f4df8a
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