From owner-cvs-all@FreeBSD.ORG Sun May 30 17:59:14 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 9F97D16A4CE; Sun, 30 May 2004 17:59:14 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 816A543D55; Sun, 30 May 2004 17:59:14 -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 i4V0xB1Q035575; Sun, 30 May 2004 17:59:11 -0700 (PDT) (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i4V0xAp6035574; Sun, 30 May 2004 17:59:10 -0700 (PDT) (envelope-from rwatson) Message-Id: <200405310059.i4V0xAp6035574@repoman.freebsd.org> From: Robert Watson Date: Sun, 30 May 2004 17:59:10 -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_srvsubs.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 00:59:14 -0000 rwatson 2004/05/30 17:59:10 PDT FreeBSD src repository Modified files: sys/nfsserver nfs_srvsubs.c Log: The NFS server modevent code manually patches the system call table to install nfssvc(). It also updates the argument count, but did so without setting SYF_MPSAFE, effectively removing the MPSAFE flag even when syscalls.master indicates it doesn't require Giant. This change forces the modevent to set MPSAFE as a flag to its internal notion of an argument coutn. Note: this duplication of information is a bad thing, but is a more general problem I'm not currently willing to address. Revision Changes Path 1.128 +1 -1 src/sys/nfsserver/nfs_srvsubs.c