From 11bb4f41ff59fc64c13f898d11afbe4549b8c4b2 Mon Sep 17 00:00:00 2001 From: Rich Ercolani Date: Sat, 15 May 2021 13:35:27 -0400 Subject: [PATCH] It's all about style, naturally. --- lib/libzutil/zutil_import.c | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/lib/libzutil/zutil_import.c b/lib/libzutil/zutil_import.c index 86a85130de96..0e59ec8c88c8 100644 --- a/lib/libzutil/zutil_import.c +++ b/lib/libzutil/zutil_import.c @@ -1011,24 +1011,24 @@ zpool_read_label(int fd, nvlist_t **config, int *num_labels) if (errno == EAGAIN || errno == EINTR || errno == EIO) { /* - * A portion of the requests may have - * been submitted. Clean them up. + * A portion of the requests may have been submitted. + * Clean them up. */ for (l = 0; l < VDEV_LABELS; l++) { errno = 0; switch (aio_error(&aiocbs[l])) { - case EINVAL: - break; - case EINPROGRESS: - // This shouldn't be possible to - // encounter, die if we do. - ASSERT(B_FALSE); - case EOPNOTSUPP: - case ENOSYS: - do_slow = B_TRUE; - case 0: - default: - (void) aio_return(&aiocbs[l]); + case EINVAL: + break; + case EINPROGRESS: + // This shouldn't be possible to + // encounter, die if we do. + ASSERT(B_FALSE); + case EOPNOTSUPP: + case ENOSYS: + do_slow = B_TRUE; + case 0: + default: + (void) aio_return(&aiocbs[l]); } } }