Add a missing mutex unlock to an error path.

Submitted by: Yuxiang Luo
PR: 107943
This commit is contained in:
Scott Long 2007-01-15 16:22:20 +00:00
parent f240e019cd
commit df8ed58dc5

View File

@ -586,6 +586,7 @@ aac_cam_reset_bus(struct cam_sim *sim, union ccb *ccb)
device_printf(sc->aac_dev,"Error %d sending ResetBus command\n",
e);
aac_release_sync_fib(sc);
mtx_unlock(&sc->aac_io_lock);
return (CAM_REQ_ABORTED);
}