diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2018-05-14 16:34:34 +0300 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2018-05-16 04:12:50 +0300 |
commit | 9f3a080ef19b1c182a8fb1edbfb707fdb811437c (patch) | |
tree | a432e25a91854614b5e6f50288dbb4dc51a4ede9 /fs/xfs/scrub/common.h | |
parent | ddd10c2fe20e7ca6d11ddf84f905edba080b26a7 (diff) | |
download | linux-9f3a080ef19b1c182a8fb1edbfb707fdb811437c.tar.xz |
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>
Diffstat (limited to 'fs/xfs/scrub/common.h')
-rw-r--r-- | fs/xfs/scrub/common.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/xfs/scrub/common.h b/fs/xfs/scrub/common.h index 119d9b6db887..a660087b606e 100644 --- a/fs/xfs/scrub/common.h +++ b/fs/xfs/scrub/common.h @@ -129,10 +129,6 @@ int xfs_scrub_ag_read_headers(struct xfs_scrub_context *sc, xfs_agnumber_t agno, void xfs_scrub_ag_btcur_free(struct xfs_scrub_ag *sa); int xfs_scrub_ag_btcur_init(struct xfs_scrub_context *sc, struct xfs_scrub_ag *sa); -int xfs_scrub_walk_agfl(struct xfs_scrub_context *sc, - int (*fn)(struct xfs_scrub_context *, xfs_agblock_t bno, - void *), - void *priv); int xfs_scrub_count_rmap_ownedby_ag(struct xfs_scrub_context *sc, struct xfs_btree_cur *cur, struct xfs_owner_info *oinfo, |