Date: Tue, 29 Jun 2010 17:10:55 +0000 (UTC) From: Matt Jacob <mjacob@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r209590 - head/sys/cam Message-ID: <201006291710.o5THAtIC084577@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006291710.o5THAtIC084577>