From 5f7afbc230ce61b3bb30a2b204722c73e52050b4 Mon Sep 17 00:00:00 2001 From: Alexander Yurchenko Date: Sun, 22 Mar 2009 18:27:42 +0000 Subject: Don't show rebuild status for offline volumes. --- sys/dev/pci/ips.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'sys/dev') diff --git a/sys/dev/pci/ips.c b/sys/dev/pci/ips.c index ff0f433f8e3..5bb9f499607 100644 --- a/sys/dev/pci/ips.c +++ b/sys/dev/pci/ips.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ips.c,v 1.89 2009/03/22 07:02:32 grange Exp $ */ +/* $OpenBSD: ips.c,v 1.90 2009/03/22 18:27:41 grange Exp $ */ /* * Copyright (c) 2006, 2007, 2009 Alexander Yurchenko @@ -1173,7 +1173,6 @@ ips_ioctl_vol(struct ips_softc *sc, struct bioc_vol *bv) break; case IPS_DS_OFFLINE: bv->bv_status = BIOC_SVOFFLINE; - rebuild++; break; default: bv->bv_status = BIOC_SVINVALID; @@ -1360,7 +1359,6 @@ ips_sensors(void *arg) case IPS_DS_OFFLINE: sc->sc_sensors[i].value = SENSOR_DRIVE_FAIL; sc->sc_sensors[i].status = SENSOR_S_CRIT; - rebuild++; break; default: sc->sc_sensors[i].value = 0; -- cgit v1.2.3