1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00
freebsd/sys/nfsserver
Robert Watson 29af382686 Correct a bug in nfsrv_create() where a call to nfsrv_access() might
be made holding the NFS server mutex.  To clean this up, introduce a
version of the function, nfsrv_access_withgiant(), that expects the
NFS server mutex to already have been dropped and Giant acquired.
Wrap nfsrv_access() around this.  This permits callers to more
efficiently check access if they're in a code block performing VFS
operations, and can be substitited for the nfsrv_access() call that
triggered this bug.

PR:		73807, 73208
MFC after:	1 week
2004-11-11 21:30:52 +00:00
..
nfs_serv.c Correct a bug in nfsrv_create() where a call to nfsrv_access() might 2004-11-11 21:30:52 +00:00
nfs_srvcache.c Change M_WAITOK argument to sodupsockaddr() to M_NOWAIT. When the call 2004-07-03 19:17:06 +00:00
nfs_srvsock.c Remove spl() use from nfsrv_timer. 2004-07-24 02:07:09 +00:00
nfs_srvsubs.c If debug.mpsafenet is non-zero, run the NFS server callout without 2004-07-24 02:32:27 +00:00
nfs_syscalls.c Merge additional socket buffer locking from rwatson_netperf: 2004-06-17 22:48:11 +00:00
nfs.h The socket code upcalls into the NFS server using the so_upcall 2004-05-24 04:06:14 +00:00
nfsm_subs.h The socket code upcalls into the NFS server using the so_upcall 2004-05-24 04:06:14 +00:00
nfsrvcache.h Remove advertising clause from University of California Regent's 2004-04-07 05:00:01 +00:00
nfsrvstats.h Remove advertising clause from University of California Regent's 2004-04-07 05:00:01 +00:00