ireq = xfrog_inumbers_alloc_req(64, 0);
if (!ireq) {
- str_info(ctx, descr, _("Insufficient memory; giving up."));
+ str_liberror(ctx, ENOMEM, _("allocating inumbers request"));
return false;
}
xfrog_inumbers_set_ag(ireq, agno);
breq = xfrog_bulkstat_alloc_req(XFS_INODES_PER_CHUNK, 0);
if (!breq) {
- str_info(ctx, descr, _("Insufficient memory; giving up."));
+ str_liberror(ctx, ENOMEM, _("allocating bulkstat request"));
return false;
}
ireq = xfrog_inumbers_alloc_req(1, 0);
if (!ireq) {
- str_info(ctx, descr, _("Insufficient memory; giving up."));
+ str_liberror(ctx, ENOMEM, _("allocating inumbers request"));
free(breq);
return false;
}
if (!xfs_action_lists_alloc(ctx->mnt.fsgeom.agcount,
&ctx->action_lists)) {
- str_error(ctx, ctx->mntpoint, _("Not enough memory."));
+ str_liberror(ctx, ENOMEM, _("allocating action lists"));
return false;
}
str_info(&ctx, ctx.mntpoint, _("Too many errors; aborting."));
if (debug_tweak_on("XFS_SCRUB_FORCE_ERROR"))
- str_error(&ctx, ctx.mntpoint, _("Injecting error."));
+ str_info(&ctx, ctx.mntpoint, _("Injecting error."));
/* Clean up scan data. */
moveon = xfs_cleanup_fs(&ctx);