]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blobdiff - scrub/phase4.c
xfs_scrub: explicitly track corruptions, not just errors
[thirdparty/xfsprogs-dev.git] / scrub / phase4.c
index eb30c189756e900621836cb335ff3234784519f6..1cf3f6b7be45dffcb83eff37340672a358868197 100644 (file)
@@ -99,7 +99,7 @@ xfs_process_action_items(
        workqueue_destroy(&wq);
 
        pthread_mutex_lock(&ctx->lock);
-       if (moveon && ctx->errors_found == 0 && want_fstrim) {
+       if (moveon && ctx->corruptions_found == 0 && want_fstrim) {
                fstrim(ctx);
                progress_add(1);
        }