From e01fc931cfd9bda87619e5079027111673291cd0 Mon Sep 17 00:00:00 2001 From: phk Date: Sat, 8 Mar 2003 08:01:31 +0000 Subject: Centralize the devstat handling for all GEOM disk device drivers in geom_disk.c. As a side effect this makes a lot of #include lines not needed and some biofinish() calls can be reduced to biodone() again. --- sys/dev/ofw/ofw_disk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/ofw') diff --git a/sys/dev/ofw/ofw_disk.c b/sys/dev/ofw/ofw_disk.c index 94695bd..0a3bfc1 100644 --- a/sys/dev/ofw/ofw_disk.c +++ b/sys/dev/ofw/ofw_disk.c @@ -130,7 +130,7 @@ ofwd_strategy(struct bio *bp) biofinish(bp, NULL, EIO); /* XXX: probably not an error */ return; } - biofinish(bp, NULL, 0); + biodone(bp); return; } -- cgit v1.1