diff options
author | Brian Foster <bfoster@redhat.com> | 2018-07-11 22:26:13 -0700 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2018-07-11 22:26:13 -0700 |
commit | 4bcfa613a0582a9992a6c2af82273bd770103d12 (patch) | |
tree | 07b05f8a462387bc4a8935b0c64f478f9484a979 /fs/xfs/libxfs/xfs_dir2.c | |
parent | 6e702a5dcbe1d38cf479931dd2e2a3da884143f0 (diff) |
xfs: use ->t_dfops for all xfs_bunmapi() callers
Use ->t_dfops for all remaining xfs_bunmapi() callers. This prepares
the latter to no longer require a dfops parameter.
Note that xfs_itruncate_extents_flags() associates a local dfops
with a transaction provided from the caller. Since there are
multiple callers, set and reset ->t_dfops before the function
returns to avoid exposure of stack memory to the caller.
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/libxfs/xfs_dir2.c')
0 files changed, 0 insertions, 0 deletions