freebsd-nq/sys/fs
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
..
autofs Remove spurious space. 2016-11-13 12:06:25 +00:00
cd9660 Use buffer pager for cd9660. 2016-10-28 11:46:39 +00:00
cuse Prevent cuse4bsd.ko and cuse.ko from loading at the same time by 2016-09-23 07:41:23 +00:00
deadfs
devfs Hide the boottime and bootimebin globals, provide the getboottime(9) 2016-07-27 11:08:59 +00:00
ext2fs ext2fs: renumber the license clauses to avoid skipping #3. 2016-12-02 19:47:23 +00:00
fdescfs Hide the boottime and bootimebin globals, provide the getboottime(9) 2016-07-27 11:08:59 +00:00
fifofs Rewrite sigdeferstop(9) and sigallowstop(9) into more flexible 2016-06-26 20:07:24 +00:00
fuse If a local (AF_LOCAL, AF_UNIX) socket creation (bind) is attempted 2016-05-18 22:23:20 +00:00
msdosfs Use buffer pager for msdosfs. 2016-10-28 11:46:15 +00:00
nandfs Fix panic() message reporting ufs instead of nandfs 2016-10-13 19:33:07 +00:00
nfs Stop "nfsstat -z" from clearing counts of NFSv4 state structures. 2016-11-25 23:28:09 +00:00
nfsclient NFSv4 client tracks opens, and the track records are only dropped when 2016-11-27 09:20:58 +00:00
nfsserver Fix the NFSv4.1 server for Open reclaim after a reboot. 2016-12-05 22:36:25 +00:00
nullfs NFSv4 client tracks opens, and the track records are only dropped when 2016-11-27 09:20:58 +00:00
procfs Hide the boottime and bootimebin globals, provide the getboottime(9) 2016-07-27 11:08:59 +00:00
pseudofs Remove Giant asserts. Update comment. 2016-08-03 08:57:15 +00:00
smbfs Replace all remaining calls to vprint(9) with vn_printf(9), and remove 2016-08-10 16:12:31 +00:00
tmpfs Remove PG_CACHED-related fields from struct vmmeter, because they are no 2016-11-22 18:13:46 +00:00
udf On error, bread(9) zeroes buffer pointer, do not dereference it. 2016-11-22 13:24:57 +00:00
unionfs Replace all remaining calls to vprint(9) with vn_printf(9), and remove 2016-08-10 16:12:31 +00:00