From 1d992e18ece4d1afbb9979737399f54a6ab3f45a Mon Sep 17 00:00:00 2001 From: phk Date: Thu, 23 Sep 2004 14:45:04 +0000 Subject: Eliminate DEV_STRATEGY() macro: call dev_strategy() directly. Make dev_strategy() handle errors and departing devices properly. --- sys/kern/kern_physio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/kern/kern_physio.c') diff --git a/sys/kern/kern_physio.c b/sys/kern/kern_physio.c index 803995c..a6d47e1 100644 --- a/sys/kern/kern_physio.c +++ b/sys/kern/kern_physio.c @@ -95,7 +95,7 @@ physio(struct cdev *dev, struct uio *uio, int ioflag) goto doerror; } - DEV_STRATEGY(bp); + dev_strategy(bp); if (uio->uio_rw == UIO_READ) bwait(bp, PRIBIO, "physrd"); else -- cgit v1.1