Add a missing mutex unlock to an error path.
Submitted by: Yuxiang Luo PR: 107943
This commit is contained in:
parent
f240e019cd
commit
df8ed58dc5
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user