From owner-cvs-all@FreeBSD.ORG Mon Aug 13 21:14:16 2007 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 90DB316A419; Mon, 13 Aug 2007 21:14:16 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 6908B13C45B; Mon, 13 Aug 2007 21:14:16 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l7DLEGs8012665; Mon, 13 Aug 2007 21:14:16 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l7DLEGDr012664; Mon, 13 Aug 2007 21:14:16 GMT (envelope-from jhb) Message-Id: <200708132114.l7DLEGDr012664@repoman.freebsd.org> From: John Baldwin Date: Mon, 13 Aug 2007 21:14:16 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/mfi mfi.c mfi_pci.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Aug 2007 21:14:16 -0000 jhb 2007-08-13 21:14:16 UTC FreeBSD src repository Modified files: sys/dev/mfi mfi.c mfi_pci.c Log: Fix a few nits relative to the previous changes: - Don't leak the config lock if detach() fails due to the controller char dev being open. - Close a race between detach() and a process opening the controller char dev. MFC after: 1 week Approved by: re (bmah) Revision Changes Path 1.32 +8 -2 src/sys/dev/mfi/mfi.c 1.8 +1 -0 src/sys/dev/mfi/mfi_pci.c