From: Darrick J. Wong <djwong@xxxxxxxxxx> Add a new entry so that we can scrub the rtrmapbt. Signed-off-by: Darrick J. Wong <djwong@xxxxxxxxxx> --- libfrog/scrub.c | 5 +++++ scrub/repair.c | 1 + 2 files changed, 6 insertions(+) diff --git a/libfrog/scrub.c b/libfrog/scrub.c index 7efb7ecfbd0..6f12ec72b22 100644 --- a/libfrog/scrub.c +++ b/libfrog/scrub.c @@ -159,6 +159,11 @@ const struct xfrog_scrub_descr xfrog_scrubbers[XFS_SCRUB_TYPE_NR] = { .descr = "realtime group bitmap", .group = XFROG_SCRUB_GROUP_RTGROUP, }, + [XFS_SCRUB_TYPE_RTRMAPBT] = { + .name = "rtrmapbt", + .descr = "realtime reverse mapping btree", + .group = XFROG_SCRUB_GROUP_RTGROUP, + }, }; #undef DEP diff --git a/scrub/repair.c b/scrub/repair.c index 10db103c87f..79a15f907a1 100644 --- a/scrub/repair.c +++ b/scrub/repair.c @@ -400,6 +400,7 @@ repair_item_difficulty( switch (scrub_type) { case XFS_SCRUB_TYPE_RMAPBT: + case XFS_SCRUB_TYPE_RTRMAPBT: ret |= REPAIR_DIFFICULTY_SECONDARY; break; case XFS_SCRUB_TYPE_SB: