aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMatt Jacob <mjacob@FreeBSD.org>2010-05-25 20:19:45 +0000
committerMatt Jacob <mjacob@FreeBSD.org>2010-05-25 20:19:45 +0000
commit1c0a1eb2993f593732ffc3580dbab48eba050b4f (patch)
tree64f954ff2531e4eb7c32852e26e0cc0a2c36aee1 /sys
parent8755e33a5704357769ba862f267386c4cf7224ea (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/isp/isp_freebsd.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/isp/isp_freebsd.c b/sys/dev/isp/isp_freebsd.c
index ff5c589da1094..a991df659582f 100644
--- a/sys/dev/isp/isp_freebsd.c
+++ b/sys/dev/isp/isp_freebsd.c
@@ -4421,7 +4421,10 @@ isp_action(struct cam_sim *sim, union ccb *ccb)
ccb->ccb_h.status = CAM_REQ_INVALID;
break;
}
- xpt_done(ccb);
+ /*
+ * This is not a queued CCB, so the caller expects it to be
+ * complete when control is returned.
+ */
break;
}
#define IS_CURRENT_SETTINGS(c) (c->type == CTS_TYPE_CURRENT_SETTINGS)