diff options
| author | 2020-01-25 21:48:42 +0000 | |
|---|---|---|
| committer | 2020-01-25 21:48:42 +0000 | |
| commit | 6d832bc26091e607ccff6c00a03838065999bad0 (patch) | |
| tree | df7986050d50f2c79ea45d754fd8aef75d0cd4e9 /sys/dev/softraid.c | |
| parent | Ensure scsi_minphys() is always called on the physio() path. (diff) | |
| download | wireguard-openbsd-6d832bc26091e607ccff6c00a03838065999bad0.tar.xz wireguard-openbsd-6d832bc26091e607ccff6c00a03838065999bad0.zip | |
Drivers that implement their own *minphys() don't need to call the
system minphys(). scsi_minphys() will do that and cd/sd/st will call
scsi_minphys().
ok jmatthew@ as part of larger diff
Diffstat (limited to 'sys/dev/softraid.c')
| -rw-r--r-- | sys/dev/softraid.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/softraid.c b/sys/dev/softraid.c index 5c01bec398d..746e740eabd 100644 --- a/sys/dev/softraid.c +++ b/sys/dev/softraid.c @@ -1,4 +1,4 @@ -/* $OpenBSD: softraid.c,v 1.396 2019/08/08 02:19:55 cheloha Exp $ */ +/* $OpenBSD: softraid.c,v 1.397 2020/01/25 21:48:42 krw Exp $ */ /* * Copyright (c) 2007, 2008, 2009 Marco Peereboom <marco@peereboom.us> * Copyright (c) 2008 Chris Kuethe <ckuethe@openbsd.org> @@ -1894,7 +1894,6 @@ sr_minphys(struct buf *bp, struct scsi_link *sl) /* XXX currently using SR_MAXFER = MAXPHYS */ if (bp->b_bcount > SR_MAXFER) bp->b_bcount = SR_MAXFER; - minphys(bp); } void |
