svn commit: r209590 - head/sys/cam

Matt Jacob mjacob at FreeBSD.org
Tue Jun 29 17:10:56 UTC 2010


Author: mjacob
Date: Tue Jun 29 17:10:55 2010
New Revision: 209590
URL: http://svn.freebsd.org/changeset/base/209590

Log:
  Don't lock buses around a call to xptperiphlistmatch- the buses will be
  locked at appropriate places.
  
  MFC after:	1 week
  X-MFC:		208752

Modified:
  head/sys/cam/cam_xpt.c

Modified: head/sys/cam/cam_xpt.c
==============================================================================
--- head/sys/cam/cam_xpt.c	Tue Jun 29 16:57:30 2010	(r209589)
+++ head/sys/cam/cam_xpt.c	Tue Jun 29 17:10:55 2010	(r209590)
@@ -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;


More information about the svn-src-all mailing list