Unlock aac_io_lock before returning, thus eliminates a mutex

leak.

Submitted by:	Beyond Luo <fedora ercist iscas ac cn>
PR:		kern/100046
Reviewed by:	scottl
This commit is contained in:
Xin LI 2006-07-14 13:55:56 +00:00
parent 3fffb1631a
commit cf82f20057

View File

@ -414,6 +414,7 @@ aac_cam_action(struct cam_sim *sim, union ccb *ccb)
} else {
ccb->ccb_h.status = CAM_REQ_CMP;
xpt_done(ccb);
mtx_unlock(&sc->aac_io_lock);
return;
}
default: