@@ -131,7 +131,7 @@ scan_fs_metadata(
goto out;
scrub_item_init_fs(&sri);
- ret = scrub_fs_metadata(ctx, type, &sri);
+ ret = scrub_meta_type(ctx, type, &sri);
if (ret) {
sctl->aborted = true;
goto out;
@@ -317,18 +317,6 @@ scrub_ag_metadata(
return scrub_group(ctx, XFROG_SCRUB_GROUP_PERAG, sri);
}
-/* Scrub whole-filesystem metadata. */
-int
-scrub_fs_metadata(
- struct scrub_ctx *ctx,
- unsigned int type,
- struct scrub_item *sri)
-{
- ASSERT(xfrog_scrubbers[type].group == XFROG_SCRUB_GROUP_FS);
-
- return scrub_meta_type(ctx, type, sri);
-}
-
/* Scrub all FS summary metadata. */
int
scrub_summary_metadata(
@@ -82,8 +82,6 @@ void scrub_item_dump(struct scrub_item *sri, unsigned int group_mask,
void scrub_report_preen_triggers(struct scrub_ctx *ctx);
int scrub_ag_headers(struct scrub_ctx *ctx, struct scrub_item *sri);
int scrub_ag_metadata(struct scrub_ctx *ctx, struct scrub_item *sri);
-int scrub_fs_metadata(struct scrub_ctx *ctx, unsigned int scrub_type,
- struct scrub_item *sri);
int scrub_iscan_metadata(struct scrub_ctx *ctx, struct scrub_item *sri);
int scrub_summary_metadata(struct scrub_ctx *ctx, struct scrub_item *sri);
int scrub_meta_type(struct scrub_ctx *ctx, unsigned int type,