diff options
author | Alexander Yurchenko <grange@cvs.openbsd.org> | 2009-03-22 18:27:42 +0000 |
---|---|---|
committer | Alexander Yurchenko <grange@cvs.openbsd.org> | 2009-03-22 18:27:42 +0000 |
commit | 5f7afbc230ce61b3bb30a2b204722c73e52050b4 (patch) | |
tree | b07edc70437b678fb33d024a7c030ee83a875a54 | |
parent | 4e851a6e8ad5b6fc841096bd982e90be73d1c73c (diff) |
Don't show rebuild status for offline volumes.
-rw-r--r-- | sys/dev/pci/ips.c | 4 |
1 files changed, 1 insertions, 3 deletions
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 <grange@openbsd.org> @@ -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; |