freebsd-skq/sys/fs/nfs
Rick Macklem 9ca27b565b Since the nfscl_getclose() function both decremented open counts and,
optionally, created a separate list of NFSv4 opens to be closed, it
was possible for the associated OpenOwner to be free'd before the Open
was closed. The problem was that the Open was taken off the OpenOwner
list before the Close RPC was done and OpenOwners can be free'd once the
list is empty. This patch separates out the case of doing the Close RPC
into a separate function called nfscl_doclose() and simplifies nfsrpc_doclose()
so that it closes a single open instead of a list of them. This avoids
removing the Open from the OpenOwner list before doing the Close RPC.

Approved by:	re (kensmith), kib (mentor)
2009-07-09 19:00:29 +00:00
..
nfs_commonacl.c Don't check MAC in the NFS server ACL set path, right now we aren't 2009-06-05 14:15:00 +00:00
nfs_commonkrpc.c Crib the realign function out of nfs_krpc.c and add a call 2009-05-24 19:46:12 +00:00
nfs_commonport.c Rework the credential code to support larger values of NGROUPS and 2009-06-19 17:10:35 +00:00
nfs_commonsubs.c Fix the experimental nfs subsystem so that it builds with the 2009-05-26 22:21:53 +00:00
nfs_var.h Since the nfscl_getclose() function both decremented open counts and, 2009-07-09 19:00:29 +00:00
nfs.h Replace RPCAUTH_UNIXGIDS with NFS_MAXGRPS so that nfscbd.c will build. 2009-06-20 17:11:07 +00:00
nfscl.h
nfsclstate.h
nfsdport.h Apply changes to the experimental nfs server so that it uses the security 2009-05-14 21:39:08 +00:00
nfskpiport.h
nfsm_subs.h
nfsport.h Add the explicit include of vimage.h to another five .c files still 2009-06-17 12:44:11 +00:00
nfsproto.h Move the nfsstat structure and proc/op number definitions on the 2009-05-15 19:33:59 +00:00
nfsrvcache.h
nfsrvstate.h
nfsv4_errstr.h
rpcv2.h
xdr_subs.h