Add a missing unlock to an error path fro XPT_DEBUG handling.

This commit is contained in:
Scott Long 2008-02-26 08:09:29 +00:00
parent 35f4ae0981
commit 2ca9ba94ba
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=176577

View File

@ -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 */