ZONE_IS_DOWN
case ZONE_IS_DOWN:
case ZONE_IS_DOWN:
if (status < ZONE_IS_READY || status > ZONE_IS_DOWN) {
if (status > ZONE_IS_DOWN) {
if (status < ZONE_IS_READY || status > ZONE_IS_DOWN) {
if (status < ZONE_IS_READY || status > ZONE_IS_DOWN) {
if (status < ZONE_IS_READY || status >= ZONE_IS_DOWN) {
if (status < ZONE_IS_READY || status > ZONE_IS_DOWN)
zone_status_set(zone, ZONE_IS_DOWN);
if (status >= ZONE_IS_DOWN) {
zone_status_set(zone, ZONE_IS_DOWN);
if (zone->zone_kthreads == NULL && zone_status_get(zone) < ZONE_IS_DOWN)
zone_status_set(zone, ZONE_IS_DOWN);
if (!zone_status_wait_sig(zone, ZONE_IS_DOWN)) {
if (status < ZONE_IS_DOWN) {
} else if (status == ZONE_IS_DOWN) {
if (status >= ZONE_IS_DOWN ||
ASSERT(ct != ZSD_DESTROY || zone_status_get(zone) >= ZONE_IS_DOWN);