From owner-p4-projects@FreeBSD.ORG Fri Apr 20 23:07:19 2007 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 4EBF216A406; Fri, 20 Apr 2007 23:07:19 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2732B16A403 for ; Fri, 20 Apr 2007 23:07:19 +0000 (UTC) (envelope-from scottl@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id F354313C465 for ; Fri, 20 Apr 2007 23:07:18 +0000 (UTC) (envelope-from scottl@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l3KN7I0D057359 for ; Fri, 20 Apr 2007 23:07:18 GMT (envelope-from scottl@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l3KN7Ibe057356 for perforce@freebsd.org; Fri, 20 Apr 2007 23:07:18 GMT (envelope-from scottl@freebsd.org) Date: Fri, 20 Apr 2007 23:07:18 GMT Message-Id: <200704202307.l3KN7Ibe057356@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to scottl@freebsd.org using -f From: Scott Long To: Perforce Change Reviews Cc: Subject: PERFORCE change 118501 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Apr 2007 23:07:19 -0000 http://perforce.freebsd.org/chv.cgi?CH=118501 Change 118501 by scottl@scottl-x64 on 2007/04/20 23:06:28 The MPT lock is already held when mpt_poll is called, don't try to grab it again. Affected files ... .. //depot/projects/scottl-camlock/src/sys/dev/mpt/mpt_cam.c#25 edit Differences ... ==== //depot/projects/scottl-camlock/src/sys/dev/mpt/mpt_cam.c#25 (text+ko) ==== @@ -917,9 +917,7 @@ struct mpt_softc *mpt; mpt = (struct mpt_softc *)cam_sim_softc(sim); - MPT_LOCK(mpt); mpt_intr(mpt); - MPT_UNLOCK(mpt); } /*