if (find_vdev_problem(nvroot, vdev_removed))
return (ZPOOL_STATUS_REMOVED_DEV);
+ /*
+ * Informational errata available.
+ */
+ (void) nvlist_lookup_uint64(config, ZPOOL_CONFIG_ERRATA, &errata);
+ if (errata) {
+ *erratap = errata;
+ return (ZPOOL_STATUS_ERRATA);
+ }
+
/*
* Outdated, but usable, version
*/
}
}
- /*
- * Informational errata available.
- */
- (void) nvlist_lookup_uint64(config, ZPOOL_CONFIG_ERRATA, &errata);
- if (errata) {
- *erratap = errata;
- return (ZPOOL_STATUS_ERRATA);
- }
-
return (ZPOOL_STATUS_OK);
}