From 16caeec9b02aa3b15073b68736e4e950266ffd81 Mon Sep 17 00:00:00 2001 From: phk Date: Sun, 6 May 2001 20:00:03 +0000 Subject: Actually biofinish(struct bio *, struct devstat *, int error) is more general than the bioerror(). Most of this patch is generated by scripts. --- sys/dev/mlx/mlx_disk.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sys/dev/mlx/mlx_disk.c') diff --git a/sys/dev/mlx/mlx_disk.c b/sys/dev/mlx/mlx_disk.c index 365ac45..18698c2 100644 --- a/sys/dev/mlx/mlx_disk.c +++ b/sys/dev/mlx/mlx_disk.c @@ -212,8 +212,7 @@ mlxd_intr(void *data) else bp->bio_resid = 0; - devstat_end_transaction_bio(&sc->mlxd_stats, bp); - biodone(bp); + biofinish(bp, &sc->mlxd_stats, 0); } static int -- cgit v1.1