freebsd-skq/sys/fs
rmacklem a832712098 Fix the setting of atime for Linux client NFSv4 mounts.
The FreeBSD NFSv4 server did not set the attribute bit for TimeAccess in
the reply to an Open with exclusive_create, as required by the RFCs.
(This is required since the FreeBSD NFS server stores the create_verifier
 in the va_atime attribute.)
As such, the Linux NFSv4 client did not set the TimeAccess (atime) in
the Setattr done in an RPC after the one with the Open/exclusive_create.
This patch fixes the server to set the TimeAccess bit in the reply.

I believe that storing the create_verifier in an extended attribute for
file systems that support extended attributes might be a good idea,
but I will wait for a discussion of this on the freebsd-fs@ email list
before considering committing a patch to do this.

Reported by:	jim@ks.uiuc.edu
Suggested by:	dfr
MFC after:	2 weeks
2017-04-21 00:17:47 +00:00
..
autofs Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
cd9660 Renumber copyright clause 4 2017-02-28 23:42:47 +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 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
devfs Simplify devfs_fsync() by removing it. This might also be a minor 2017-02-20 16:18:33 +00:00
ext2fs Two more files missed in r317055: these files need sys/vmmeter.h, but now 2017-04-17 17:20:48 +00:00
fdescfs Hide the boottime and bootimebin globals, provide the getboottime(9) 2016-07-27 11:08:59 +00:00
fifofs Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
fuse - Remove 'struct vmmeter' from 'struct pcpu', leaving only global vmmeter 2017-04-17 17:34:47 +00:00
msdosfs All these files need sys/vmmeter.h, but now they got it implicitly 2017-04-17 17:07:00 +00:00
nandfs prefix UFS symbols with UFS_ to reduce namespace pollution 2017-02-15 19:50:26 +00:00
nfs Remove unused "cred" argument to ncl_flush(). 2017-04-14 13:25:45 +00:00
nfsclient - Remove 'struct vmmeter' from 'struct pcpu', leaving only global vmmeter 2017-04-17 17:34:47 +00:00
nfsserver Fix the setting of atime for Linux client NFSv4 mounts. 2017-04-21 00:17:47 +00:00
nullfs Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
procfs remove procfs ctl interface 2017-03-05 03:05:24 +00:00
pseudofs Forcibly remove the cached items from pseudofs vncache on module unload. 2017-01-09 20:14:18 +00:00
smbfs - Remove 'struct vmmeter' from 'struct pcpu', leaving only global vmmeter 2017-04-17 17:34:47 +00:00
tmpfs Remove mistakenly merged field. 2017-01-19 20:03:26 +00:00
udf On error, bread(9) zeroes buffer pointer, do not dereference it. 2016-11-22 13:24:57 +00:00
unionfs Renumber copyright clause 4 2017-02-28 23:42:47 +00:00