diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1998-05-07 05:19:37 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1998-05-07 05:19:37 +0000 |
commit | 2f42e30f80fd885d2f65e8b446aa7e1aa09a26d3 (patch) | |
tree | 96b5fb03ad24e3911e6403cc7c9fb79391408ec9 /sys/arch/hp300/dev/sd.c | |
parent | e72bc6cfb01f6959670a5c80130f0167065eedd7 (diff) |
don't clear *_WLABEL on close so 'disklabel -W' is persistent like in the generic scsi system
Diffstat (limited to 'sys/arch/hp300/dev/sd.c')
-rw-r--r-- | sys/arch/hp300/dev/sd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hp300/dev/sd.c b/sys/arch/hp300/dev/sd.c index 58abd418d18..5632a750324 100644 --- a/sys/arch/hp300/dev/sd.c +++ b/sys/arch/hp300/dev/sd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sd.c,v 1.18 1998/05/02 05:36:58 millert Exp $ */ +/* $OpenBSD: sd.c,v 1.19 1998/05/07 05:19:33 millert Exp $ */ /* $NetBSD: sd.c,v 1.34 1997/07/10 18:14:10 kleink Exp $ */ /* @@ -609,7 +609,7 @@ sdclose(dev, flag, mode, p) sleep((caddr_t)&sc->sc_tab, PRIBIO); } splx(s); - sc->sc_flags &= ~(SDF_CLOSING|SDF_WLABEL|SDF_ERROR); + sc->sc_flags &= ~(SDF_CLOSING|SDF_ERROR); wakeup((caddr_t)sc); } sc->sc_format_pid = -1; |