summaryrefslogtreecommitdiff
path: root/sys/scsi/st.c
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2020-02-20 16:26:03 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2020-02-20 16:26:03 +0000
commitdce9a999f09de001f0e2f9592b371383a9b2cb3d (patch)
tree3cc6216390dd308eb9be2802b6c9a7d918584964 /sys/scsi/st.c
parente58a04b96414c07049339eb9dfb7367d950c639f (diff)
Relax the grip the dead hand of QBUS (a.k.a. MAXPHYS) has on the
throat of physio(). Allows individual devices to eventually be modified to support larger physio() (a.k.a. 'raw') i/o's if they prove capable of them. No immediate functional change. Tested for many weeks by and ok robert@.
Diffstat (limited to 'sys/scsi/st.c')
-rw-r--r--sys/scsi/st.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/scsi/st.c b/sys/scsi/st.c
index 81138969d5f..96e3232e25e 100644
--- a/sys/scsi/st.c
+++ b/sys/scsi/st.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: st.c,v 1.176 2020/02/05 16:29:30 krw Exp $ */
+/* $OpenBSD: st.c,v 1.177 2020/02/20 16:26:02 krw Exp $ */
/* $NetBSD: st.c,v 1.71 1997/02/21 23:03:49 thorpej Exp $ */
/*
@@ -1010,8 +1010,8 @@ stminphys(struct buf *bp)
if (link->adapter->dev_minphys != NULL)
(*link->adapter->dev_minphys)(bp, link);
-
- minphys(bp);
+ else
+ minphys(bp);
device_unref(&sc->sc_dev);
}