diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-09-20 02:51:53 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-09-20 02:51:53 +0000 |
commit | f19e4847c461b9d198dc6bcd73c07bb762a026e2 (patch) | |
tree | 31dd86c4c1ead63e1b288ba001a956ebf3d570fb /sys/scsi/sd.c | |
parent | 157f786ffba38897086fd1939522ae520bf25253 (diff) |
bufq_drain() does not need to be done in deactivate; we only need
to deactivate transactions we are currently doing.
ok dlg
Diffstat (limited to 'sys/scsi/sd.c')
-rw-r--r-- | sys/scsi/sd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/scsi/sd.c b/sys/scsi/sd.c index d6cd0fb0093..8e78981de4b 100644 --- a/sys/scsi/sd.c +++ b/sys/scsi/sd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sd.c,v 1.214 2010/09/12 02:05:54 krw Exp $ */ +/* $OpenBSD: sd.c,v 1.215 2010/09/20 02:51:52 deraadt Exp $ */ /* $NetBSD: sd.c,v 1.111 1997/04/02 02:29:41 mycroft Exp $ */ /*- @@ -290,7 +290,6 @@ sdactivate(struct device *self, int act) break; case DVACT_DEACTIVATE: sc->flags |= SDF_DYING; - bufq_drain(&sc->sc_bufq); scsi_xsh_del(&sc->sc_xsh); break; } |