freebsd-dev/sys/fs/nfsserver
Rick Macklem a5d19b81b4 Fix the NFSv4.1 server for Open reclaim after a reboot.
The NFSv4.1 server failed to update the nfs-stablerestart file for
a client when the client was issued its first Open. As such, recovery
of Opens after a server reboot failed with NFSERR_NOGRACE.
This patch fixes this.
It also changes the code so that it malloc()'s the 1024 byte array
instead of allocating it on the kernel stack for both NFSv4.0 and NFSv4.1.
Note that this bug only affected NFSv4.1 and only when clients attempted
to reclaim Opens after a server reboot.

MFC after:	2 weeks
2016-12-05 22:36:25 +00:00
..
nfs_fha_new.c
nfs_fha_new.h
nfs_nfsdcache.c Update the nfsstats structure to include the changes needed by 2016-08-12 22:44:59 +00:00
nfs_nfsdkrpc.c nfsserver: minor spelling fix in comment. 2016-05-06 23:40:37 +00:00
nfs_nfsdport.c Allow some dotdot lookups in capability mode. 2016-11-02 12:43:15 +00:00
nfs_nfsdserv.c nfsd: Fix use-after-free in NFS4 lock test service 2016-05-12 05:03:12 +00:00
nfs_nfsdsocket.c Update the nfsstats structure to include the changes needed by 2016-08-12 22:44:59 +00:00
nfs_nfsdstate.c Fix the NFSv4.1 server for Open reclaim after a reboot. 2016-12-05 22:36:25 +00:00
nfs_nfsdsubs.c Allow the NFSv4 server to reply NFSERR_WRONGSEC for the SetClientID operation. 2016-04-23 21:18:45 +00:00