]> www.infradead.org Git - users/hch/xfsprogs.git/commitdiff
xfs_scrub: support internal RT sections
authorChristoph Hellwig <hch@lst.de>
Fri, 20 Dec 2024 03:51:06 +0000 (19:51 -0800)
committerChristoph Hellwig <hch@lst.de>
Tue, 8 Apr 2025 07:28:23 +0000 (09:28 +0200)
Signed-off-by: Christoph Hellwig <hch@lst.de>
scrub/phase1.c

index d03a9099a2173ca329984ec645066ba14ba878fb..e71cab7b7d9013965f5d81580704dc275b7254f2 100644 (file)
@@ -341,7 +341,8 @@ _("Kernel metadata repair facility is not available.  Use -n to scrub."));
 _("Unable to find log device path."));
                return ECANCELED;
        }
-       if (ctx->mnt.fsgeom.rtblocks && ctx->fsinfo.fs_rt == NULL) {
+       if (ctx->mnt.fsgeom.rtblocks && ctx->fsinfo.fs_rt == NULL &&
+           !(ctx->mnt.fsgeom.flags & XFS_FSOP_GEOM_FLAGS_ZONED)) {
                str_error(ctx, ctx->mntpoint,
 _("Unable to find realtime device path."));
                return ECANCELED;