cvs commit: src/sys/nfsserver nfs_serv.c

[ Available lists | Index of cvs-all | Month of Aug 2004 | Week of 30 Aug 2004 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Robert Watson <rwatson@FreeBSD.org>
Date
30 Aug 2004 22:02:57
Subject
cvs commit: src/sys/nfsserver nfs_serv.c
Message-ID
200408302202.i7UM2v0X030043@repoman.freebsd.org


[ Hide this part ]
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


Elapsed time: 0.056 seconds