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:
parent
3fffb1631a
commit
cf82f20057
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user