From owner-cvs-all@FreeBSD.ORG Mon Jul 17 16:13:00 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2097616A4DE; Mon, 17 Jul 2006 16:13:00 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF96B43D49; Mon, 17 Jul 2006 16:12:59 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k6HGCxwt007699; Mon, 17 Jul 2006 16:12:59 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k6HGCx2u007698; Mon, 17 Jul 2006 16:12:59 GMT (envelope-from jhb) Message-Id: <200607171612.k6HGCx2u007698@repoman.freebsd.org> From: John Baldwin Date: Mon, 17 Jul 2006 16:12:59 +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/netsmb smb_conn.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, 17 Jul 2006 16:13:00 -0000 jhb 2006-07-17 16:12:59 UTC FreeBSD src repository Modified files: sys/netsmb smb_conn.c Log: Always lock the lockmgr lock when creating an smb connection object rather than only locking it if INVARIANTS is enabled. All the callers expect smb_co_init() to return with the lock held. Tested by: "Jiawei Ye" Revision Changes Path 1.17 +2 -1 src/sys/netsmb/smb_conn.c