xfs: remove the for_each_xbitmap_ helpers
authorDarrick J. Wong <djwong@kernel.org>
Wed, 12 Apr 2023 02:00:35 +0000 (19:00 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 12 Apr 2023 02:00:35 +0000 (19:00 -0700)
commit178b48d588ea5424a54423dc9c406416de0547c8
tree0f56662071b06b8af7f95bc6a97a0876216f083b
parent44af6c7e59b12d740809cf25a60c9f90f03e6d20
xfs: remove the for_each_xbitmap_ helpers

Remove the for_each_xbitmap_ macros in favor of proper iterator
functions.  We'll soon be switching this data structure over to an
interval tree implementation, which means that we can't allow callers to
modify the bitmap during iteration without telling us.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
fs/xfs/scrub/agheader_repair.c
fs/xfs/scrub/bitmap.c
fs/xfs/scrub/bitmap.h
fs/xfs/scrub/repair.c