Message ID | 170404998713.1797322.10083768087196595064.stgit@frogsfrogsfrogs (mailing list archive) |
---|---|
State | Superseded, archived |
Headers | show |
Series | [1/7] xfs_scrub: flush stdout after printing to it | expand |
Looks good:
Reviewed-by: Christoph Hellwig <hch@lst.de>
diff --git a/scrub/repair.c b/scrub/repair.c index 54bd09575c0..50f168d24fe 100644 --- a/scrub/repair.c +++ b/scrub/repair.c @@ -167,6 +167,10 @@ _("Repair unsuccessful; offline repair required.")); _("Seems correct but cross-referencing failed; will keep checking.")); return CHECK_RETRY; } + } else if (meta.sm_flags & XFS_SCRUB_OFLAG_NO_REPAIR_NEEDED) { + if (verbose) + str_info(ctx, descr_render(&dsc), + _("No modification needed.")); } else { /* Clean operation, no corruption detected. */ if (is_corrupt(&oldm))