From owner-cvs-src@FreeBSD.ORG Wed Jan 5 03:35:00 2005 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8EF9116A4CE; Wed, 5 Jan 2005 03:35:00 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7AE4743D48; Wed, 5 Jan 2005 03:35:00 +0000 (GMT) (envelope-from kensmith@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j053Z0W4071797; Wed, 5 Jan 2005 03:35:00 GMT (envelope-from kensmith@repoman.freebsd.org) Received: (from kensmith@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j053Z0mG071796; Wed, 5 Jan 2005 03:35:00 GMT (envelope-from kensmith) Message-Id: <200501050335.j053Z0mG071796@repoman.freebsd.org> From: Ken Smith Date: Wed, 5 Jan 2005 03:35:00 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_5_3 Subject: cvs commit: src UPDATING src/sys/conf newvers.sh src/sys/nfsserver nfs_serv.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jan 2005 03:35:00 -0000 kensmith 2005-01-05 03:35:00 UTC FreeBSD src repository Modified files: (Branch: RELENG_5_3) . UPDATING sys/conf newvers.sh sys/nfsserver nfs_serv.c Log: MFC of src/sys/nfsserver/nfs_serv.c rev 1.147.2.3: Merge nfs_serv.c:1.151 from HEAD to RELENG_5: date: 2004/11/11 21:30:52; author: rwatson; state: Exp; lines: +52 -38 Correct a bug in nfsrv_create() where a call to nfsrv_access() might be made holding the NFS server mutex. To clean this up, introduce a version of the function, nfsrv_access_withgiant(), that expects the NFS server mutex to already have been dropped and Giant acquired. Wrap nfsrv_access() around this. This permits callers to more efficiently check access if they're in a code block performing VFS operations, and can be substitited for the nfsrv_access() call that triggered this bug. PR: 73807, 73208 Approved by: so (nectar) Work done by: rwatson Errata Notice: FreeBSD-EN-05:01.nfs Revision Changes Path 1.342.2.13.2.6 +5 -0 src/UPDATING 1.62.2.15.2.8 +1 -1 src/sys/conf/newvers.sh 1.147.2.1.2.2 +52 -38 src/sys/nfsserver/nfs_serv.c