diff options
author | Brian Foster <bfoster@redhat.com> | 2018-07-11 22:26:20 -0700 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2018-07-11 22:26:20 -0700 |
commit | f16dea54b789aad464ae4f34caea9f8d81052729 (patch) | |
tree | 84dd1a1d9e6f3765234f0c8c1f2d58b2f13d9700 /fs/xfs/libxfs/xfs_dir2.c | |
parent | bba59c5e4b38e160c6be25b2f4fe36ebc84f53df (diff) | |
download | linux-f16dea54b789aad464ae4f34caea9f8d81052729.tar.gz linux-f16dea54b789aad464ae4f34caea9f8d81052729.tar.bz2 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.c')
0 files changed, 0 insertions, 0 deletions