Add a missing unlock to an error path fro XPT_DEBUG handling.
This commit is contained in:
parent
35f4ae0981
commit
2ca9ba94ba
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=176577
@ -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…
Reference in New Issue
Block a user