diff options
author | scottl <scottl@FreeBSD.org> | 2008-02-26 08:09:29 +0000 |
---|---|---|
committer | scottl <scottl@FreeBSD.org> | 2008-02-26 08:09:29 +0000 |
commit | 80b91d8cd774376a4482561e0c72cc44791f1b12 (patch) | |
tree | e07bd65ba68932baa3ce2e54e1fbb5612a2f2c52 /sys/cam | |
parent | 8d5e1fcfc00490b2ad5fb109213dda10fa143387 (diff) | |
download | FreeBSD-src-80b91d8cd774376a4482561e0c72cc44791f1b12.zip FreeBSD-src-80b91d8cd774376a4482561e0c72cc44791f1b12.tar.gz |
Add a missing unlock to an error path fro XPT_DEBUG handling.
Diffstat (limited to 'sys/cam')
-rw-r--r-- | sys/cam/cam_xpt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/cam/cam_xpt.c b/sys/cam/cam_xpt.c index 75060d3..0563467 100644 --- a/sys/cam/cam_xpt.c +++ b/sys/cam/cam_xpt.c @@ -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 */ |