> +                     goto wipe_label;
> +
> +             (void) fprintf(stderr,
> +                 gettext("Unable to determine pool state for %s\n"
> +                 "Use -f to force the clearing any label data\n"), vdev);
> +             goto errout;
> +     }
> +
> +     if (inuse) {
> +             switch (state) {
> +             default:
> +             case POOL_STATE_ACTIVE:
> +             case POOL_STATE_SPARE:
> +             case POOL_STATE_L2CACHE:
> +                     (void) fprintf(stderr,
> +gettext("labelclear operation failed.\n"

You could reduce the indentation by 2 tabs using a local variable in this 
function (outside the "if" and "switch").  You still might need to break some 
of the lines though.

---
Reply to this email directly or view it on GitHub:
https://github.com/openzfs/openzfs/pull/32/files#r50648413
_______________________________________________
developer mailing list
developer@open-zfs.org
http://lists.open-zfs.org/mailman/listinfo/developer

Reply via email to