summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormjacob <mjacob@FreeBSD.org>2010-06-29 17:10:55 +0000
committermjacob <mjacob@FreeBSD.org>2010-06-29 17:10:55 +0000
commit566f36f96167c7bcd294511a8a13783af34c84b3 (patch)
treeb96591e906aafd087c1bcea17345aa44a11268e9
parent828edb743f1430cfeee934faaf3a3e4bc3d39339 (diff)
downloadFreeBSD-src-566f36f96167c7bcd294511a8a13783af34c84b3.zip
FreeBSD-src-566f36f96167c7bcd294511a8a13783af34c84b3.tar.gz
Don't lock buses around a call to xptperiphlistmatch- the buses will be
locked at appropriate places. MFC after: 1 week X-MFC: 208752
-rw-r--r--sys/cam/cam_xpt.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/cam/cam_xpt.c b/sys/cam/cam_xpt.c
index 3d33a0f..7fcdb6f 100644
--- a/sys/cam/cam_xpt.c
+++ b/sys/cam/cam_xpt.c
@@ -2683,9 +2683,7 @@ xpt_action_default(union ccb *start_ccb)
xptedtmatch(cdm);
break;
case CAM_DEV_POS_PDRV:
- xpt_lock_buses();
xptperiphlistmatch(cdm);
- xpt_unlock_buses();
break;
default:
cdm->status = CAM_DEV_MATCH_ERROR;
OpenPOWER on IntegriCloud