]> www.infradead.org Git - users/hch/xfsprogs.git/commitdiff
scrub: support internal RT sections xfs-zoned-2024-21-07
authorChristoph Hellwig <hch@lst.de>
Thu, 31 Oct 2024 06:18:14 +0000 (07:18 +0100)
committerChristoph Hellwig <hch@lst.de>
Sat, 2 Nov 2024 05:35:16 +0000 (06:35 +0100)
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;