]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
xfs: factor out a xfs_iwalk_args helper
authorChristoph Hellwig <hch@lst.de>
Mon, 4 Nov 2024 04:18:37 +0000 (20:18 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 5 Nov 2024 21:38:27 +0000 (13:38 -0800)
commit0a4d79741d6f82159dc1742c11e189da8a89511d
treea52250e27720db361315184a6b2ea1727cfb53f5
parentd66496578b2a099ea453f56782f1cd2bf63a8029
xfs: factor out a xfs_iwalk_args helper

Add a helper to share more code between xfs_iwalk and xfs_inobt_walk,
and at the same time do away with the extra flags indirect so that
everyone use the same names for the same flags when using the common
iwalk code.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
fs/xfs/xfs_iwalk.c
fs/xfs/xfs_iwalk.h