diff options
author | Brian Foster <bfoster@redhat.com> | 2018-07-12 07:26:20 +0200 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2018-07-12 07:26:20 +0200 |
commit | f16dea54b789aad464ae4f34caea9f8d81052729 (patch) | |
tree | 84dd1a1d9e6f3765234f0c8c1f2d58b2f13d9700 /fs/xfs/libxfs/xfs_dir2.h | |
parent | xfs: add firstblock field to xfs_trans (diff) | |
download | linux-f16dea54b789aad464ae4f34caea9f8d81052729.tar.xz linux-f16dea54b789aad464ae4f34caea9f8d81052729.zip |
xfs: use ->t_firstblock in dir ops
Callers of the xfs_dir_*() functions currently pass an on-stack
firstblock variable. While the dirops infrastructure carries a
pointer to this variable, it never rolls the transaction and so it
is safe to use ->t_firstblock instead.
Fix up the various xfs_dir_*() callers to use ->t_firstblock. Also
remove the unnecessary parameter for xfs_cross_rename().
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.h')
0 files changed, 0 insertions, 0 deletions