xfs: hoist xfs_scrub_agfl_walk to libxfs as xfs_agfl_walk
authorDarrick J. Wong <darrick.wong@oracle.com>
Mon, 14 May 2018 13:34:34 +0000 (06:34 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Wed, 16 May 2018 01:12:50 +0000 (18:12 -0700)
commit9f3a080ef19b1c182a8fb1edbfb707fdb811437c
treea432e25a91854614b5e6f50288dbb4dc51a4ede9
parentddd10c2fe20e7ca6d11ddf84f905edba080b26a7
xfs: hoist xfs_scrub_agfl_walk to libxfs as xfs_agfl_walk

This function is basically a generic AGFL block iterator, so promote it
to libxfs ahead of online repair wanting to use it.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
fs/xfs/libxfs/xfs_alloc.c
fs/xfs/libxfs/xfs_alloc.h
fs/xfs/scrub/agheader.c
fs/xfs/scrub/common.h