From: Darrick J. Wong <djwong@xxxxxxxxxx> Add a new entry so that we can scrub the rtrefcountbt. 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 97b3d533910..62220f1eb0b 100644 --- a/libfrog/scrub.c +++ b/libfrog/scrub.c @@ -174,6 +174,11 @@ const struct xfrog_scrub_descr xfrog_scrubbers[XFS_SCRUB_TYPE_NR] = { .descr = "realtime reverse mapping btree", .group = XFROG_SCRUB_GROUP_RTGROUP, }, + [XFS_SCRUB_TYPE_RTREFCBT] = { + .name = "rtrefcountbt", + .descr = "realtime reference count btree", + .group = XFROG_SCRUB_GROUP_RTGROUP, + }, }; const struct xfrog_scrub_descr xfrog_metapaths[XFS_SCRUB_METAPATH_NR] = { diff --git a/scrub/repair.c b/scrub/repair.c index 72533ab5b02..08d11079547 100644 --- a/scrub/repair.c +++ b/scrub/repair.c @@ -556,6 +556,7 @@ repair_item_difficulty( case XFS_SCRUB_TYPE_RTBITMAP: case XFS_SCRUB_TYPE_RTSUM: case XFS_SCRUB_TYPE_RGSUPER: + case XFS_SCRUB_TYPE_RTREFCBT: ret |= REPAIR_DIFFICULTY_PRIMARY; break; }