]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blobdiff - scrub/inodes.c
libfrog: fix workqueue error communication problems
[thirdparty/xfsprogs-dev.git] / scrub / inodes.c
index dd2aa173b59bbec65b382e388d8fce81c1eaf34a..74280ad6946add837a6429fc564aa05be4e7263e 100644 (file)
@@ -243,7 +243,7 @@ xfs_scan_all_inodes(
        ret = workqueue_create(&wq, (struct xfs_mount *)ctx,
                        scrub_nproc_workqueue(ctx));
        if (ret) {
-               str_info(ctx, ctx->mntpoint, _("Could not create workqueue."));
+               str_liberror(ctx, ret, _("creating bulkstat workqueue"));
                return false;
        }
 
@@ -251,8 +251,7 @@ xfs_scan_all_inodes(
                ret = workqueue_add(&wq, xfs_scan_ag_inodes, agno, &si);
                if (ret) {
                        si.moveon = false;
-                       str_info(ctx, ctx->mntpoint,
-_("Could not queue AG %u bulkstat work."), agno);
+                       str_liberror(ctx, ret, _("queueing bulkstat work"));
                        break;
                }
        }