From owner-cvs-src@FreeBSD.ORG Mon Aug 30 22:02:57 2004 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 CD51216A4CE; Mon, 30 Aug 2004 22:02:57 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id C4C0743D54; Mon, 30 Aug 2004 22:02:57 +0000 (GMT) (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 i7UM2vFn030044; Mon, 30 Aug 2004 22:02:57 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i7UM2v0X030043; Mon, 30 Aug 2004 22:02:57 GMT (envelope-from rwatson) Message-Id: <200408302202.i7UM2v0X030043@repoman.freebsd.org> From: Robert Watson Date: Mon, 30 Aug 2004 22:02:57 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_5 Subject: cvs commit: 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: Mon, 30 Aug 2004 22:02:58 -0000 rwatson 2004-08-30 22:02:57 UTC FreeBSD src repository Modified files: (Branch: RELENG_5) sys/nfsserver nfs_serv.c Log: Merge nfs_serv.c:1.148 to RELENG_5: date: 2004/08/25 16:52:59; author: rwatson; state: Exp; lines: +1 -1 Convert a mtx_lock(&Giant) to a mtx_unlock(&Giant) in nfsrv_link() to prevent leakage of Giant. With INVARIANTS, this results in an assertion failure following execution of the RPC. Without INVARIANTS, it could result in problems if the NFS server is killed causing nfsd to return to user space holding Giant. Feet provided by: brueffer Approved by: re (scottl) Revision Changes Path 1.147.2.1 +1 -1 src/sys/nfsserver/nfs_serv.c