xfs: factor out a xfs_dir_removename_args helper
authorChristoph Hellwig <hch@lst.de>
Thu, 25 Apr 2024 13:17:01 +0000 (15:17 +0200)
committerChandan Babu R <chandanbabu@kernel.org>
Fri, 26 Apr 2024 05:49:04 +0000 (11:19 +0530)
commit3866e6e669e2c1b3eebf580b8779ea55838c3f5a
tree84c8f9088886f914cdf1212af6790512b3ee84d0
parent4d893a40514e9c4ee6e3be48ed1b77efb38c313b
xfs: factor out a xfs_dir_removename_args helper

Add a helper to switch between the different directory formats for
removing a directory entry.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
fs/xfs/libxfs/xfs_dir2.c
fs/xfs/libxfs/xfs_dir2.h
fs/xfs/scrub/dir_repair.c