summaryrefslogtreecommitdiffstats
path: root/sys/dev/amr/amr_disk.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/amr/amr_disk.c')
-rw-r--r--sys/dev/amr/amr_disk.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/amr/amr_disk.c b/sys/dev/amr/amr_disk.c
index bd9c729..f846043 100644
--- a/sys/dev/amr/amr_disk.c
+++ b/sys/dev/amr/amr_disk.c
@@ -200,8 +200,7 @@ amrd_intr(void *data)
bio->bio_resid = 0;
}
- devstat_end_transaction_bio(&sc->amrd_stats, bio);
- biodone(bio);
+ biofinish(bio, &sc->amrd_stats, 0);
}
static int
OpenPOWER on IntegriCloud