Date: Mon, 30 Aug 2004 22:02:57 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/nfsserver nfs_serv.c Message-ID: <200408302202.i7UM2v0X030043@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408302202.i7UM2v0X030043>
