xfs: factor out a xfs_dir_replace_args helper
authorChristoph Hellwig <hch@lst.de>
Thu, 25 Apr 2024 13:17:02 +0000 (15:17 +0200)
committerChandan Babu R <chandanbabu@kernel.org>
Fri, 26 Apr 2024 05:49:04 +0000 (11:19 +0530)
commitdfe5febe2b6a175d730861441bff4f726fc58a6c
tree005d98cdfb6d8c5f5d30bd224adde91ad0a89290
parent3866e6e669e2c1b3eebf580b8779ea55838c3f5a
xfs: factor out a xfs_dir_replace_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