xfs: make the xfs_dir3_icfree_hdr available to xfs_dir2_node_addname_int
authorChristoph Hellwig <hch@lst.de>
Fri, 8 Nov 2019 22:57:53 +0000 (14:57 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 11 Nov 2019 00:54:20 +0000 (16:54 -0800)
commit195b0a44ab73f0275683e7a0b1985751ea2ef6ae
treef4484d90979073b60c7c8b6abf0b7268b01a409c
parent200dada70008a1204ddd3d95250d23d6477e20e6
xfs: make the xfs_dir3_icfree_hdr available to xfs_dir2_node_addname_int

Return the xfs_dir3_icfree_hdr used by the helpers called from
xfs_dir2_node_addname_int to the main function to prepare for the
next round of changes where we'll use the ichdr in xfs_dir3_icfree_hdr
to avoid extra operations to find the bests pointers.

Signed-off-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/libxfs/xfs_dir2_node.c