Add a missing unlock to an error path fro XPT_DEBUG handling.
This commit is contained in:
parent
35f4ae0981
commit
2ca9ba94ba
1 changed files with 1 additions and 0 deletions
|
|
@ -1137,6 +1137,7 @@ xptioctl(struct cdev *dev, u_long cmd, caddr_t addr, int flag, struct thread *td
|
|||
inccb->ccb_h.target_lun) !=
|
||||
CAM_REQ_CMP){
|
||||
error = EINVAL;
|
||||
CAM_SIM_UNLOCK(bus->sim);
|
||||
break;
|
||||
}
|
||||
/* Ensure all of our fields are correct */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue