From: Matthew Dillon Date: Mon, 20 Jun 2005 02:56:09 +0000 (+0000) Subject: Add a missing crit_exit(). The code path in question only got executed X-Git-Tag: v2.0.1~6860 X-Git-Url: https://gitweb.dragonflybsd.org/dragonfly.git/commitdiff_plain/b2a7de38b6de78c49f7c8968e35913d3e40a2731 Add a missing crit_exit(). The code path in question only got executed if an error occurs. --- diff --git a/sys/dev/disk/aha/aha.c b/sys/dev/disk/aha/aha.c index d823420b61..c76f4188ae 100644 --- a/sys/dev/disk/aha/aha.c +++ b/sys/dev/disk/aha/aha.c @@ -56,7 +56,7 @@ * SUCH DAMAGE. * * $FreeBSD: src/sys/dev/aha/aha.c,v 1.34.2.1 2000/08/02 22:24:39 peter Exp $ - * $DragonFly: src/sys/dev/disk/aha/aha.c,v 1.9 2005/06/03 16:57:12 eirikn Exp $ + * $DragonFly: src/sys/dev/disk/aha/aha.c,v 1.10 2005/06/20 02:56:09 dillon Exp $ */ #include @@ -1198,6 +1198,7 @@ ahaexecuteccb(void *arg, bus_dma_segment_t *dm_segs, int nseg, int error) xpt_freeze_simq(aha->sim, /*count*/1); ccb->ccb_h.status = CAM_REQUEUE_REQ; xpt_done(ccb); + crit_exit(); return; } paddr = ahaccbvtop(aha, accb);