From owner-cvs-all@FreeBSD.ORG Mon May 31 09:32:49 2004 Return-Path: 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 EFB2B16A4CE; Mon, 31 May 2004 09:32:49 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D2AC743D1D; Mon, 31 May 2004 09:32:49 -0700 (PDT) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i4VGWnj3072749; Mon, 31 May 2004 09:32:49 -0700 (PDT) (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i4VGWnMH072748; Mon, 31 May 2004 09:32:49 -0700 (PDT) (envelope-from rwatson) Message-Id: <200405311632.i4VGWnMH072748@repoman.freebsd.org> From: Robert Watson Date: Mon, 31 May 2004 09:32:49 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/nfsserver nfs_syscalls.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 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, 31 May 2004 16:32:50 -0000 rwatson 2004/05/31 09:32:49 PDT FreeBSD src repository Modified files: sys/nfsserver nfs_syscalls.c Log: Add an assertion that nfssvc() isn't called with Giant. Add two additional pairs of assertions, one at the end of the NFS server event loop, and one one exit from the NFS daemon, that assert that if debug.mpsafenet is enabled, Giant is not held, and that if it is not enabled, Giant will be held. This is intended to support debugging scenarios where Giant is "leaked" during NFS processing. Revision Changes Path 1.100 +10 -0 src/sys/nfsserver/nfs_syscalls.c