Date: Wed, 25 Aug 2004 16:52:59 +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: <200408251652.i7PGqxsM075984@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2004-08-25 16:52:59 UTC FreeBSD src repository Modified files: sys/nfsserver nfs_serv.c Log: 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 Revision Changes Path 1.148 +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?200408251652.i7PGqxsM075984>