summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_reflink.c
diff options
context:
space:
mode:
authorBrian Foster <bfoster@redhat.com>2018-07-11 22:26:17 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2018-07-11 22:26:17 -0700
commit7a7943c7e09546d4cc78b9756de23fd395b2cba4 (patch)
tree3eb2fb3c00a59c977b5fb15f3c88104fc4a218e9 /fs/xfs/xfs_reflink.c
parented7ef8e55c6f24ae4347b5bda89e00af475ebc89 (diff)
xfs: use ->t_dfops for rmap extent swap operations
xfs_swap_extent_rmap() uses a local dfops instance with a transaction from the caller. Since there is only one caller, pull the dfops structure into the caller and attach it to the transaction. This avoids the need to clear ->t_dfops to prevent invalid stack memory access. 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>
Diffstat (limited to 'fs/xfs/xfs_reflink.c')
0 files changed, 0 insertions, 0 deletions