cvs commit: src/sys/nfsserver nfs_serv.c
Robert Watson
rwatson at FreeBSD.org
Wed Aug 25 09:53:00 PDT 2004
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
More information about the cvs-src
mailing list