]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blobdiff - spaceman/health.c
xfs_spaceman: always report sick metadata, checked or not
[thirdparty/xfsprogs-dev.git] / spaceman / health.c
index 8fd985a291fc74608819eefefe7d02da0bb526fd..0d3aa243ee34fcff9d42af631d24d2bb5c3fb309 100644 (file)
@@ -171,10 +171,10 @@ report_sick(
        for (f = maps; f->mask != 0; f++) {
                if (f->has_fn && !f->has_fn(&file->xfd.fsgeom))
                        continue;
-               if (!(checked & f->mask))
+               bad = sick & f->mask;
+               if (!bad && !(checked & f->mask))
                        continue;
                reported++;
-               bad = sick & f->mask;
                if (!bad && quiet)
                        continue;
                printf("%s %s: %s\n", descr, _(f->descr),