Author: rmacklem
Date: Sat Dec  7 01:10:38 2019
New Revision: 355479
URL: https://svnweb.freebsd.org/changeset/base/355479

Log:
  Set the XATTRSUPPORT attribute bit for NFSv4.2, always cleared for now.
  
  Since r355472 added code which clears the XATTRSUPPORT bit for non-NFSv4.2
  mounts, it is now safe to set it.
  
  There will be a series of these preliminary commits that will prepare for
  a major commit of the NFSv4.2 client/server changes currently found in
  subversion under projects/nfsv42/sys.
  This commit completes updates to nfsproto.h required by the NFSv4.2.

Modified:
  head/sys/fs/nfs/nfsproto.h

Modified: head/sys/fs/nfs/nfsproto.h
==============================================================================
--- head/sys/fs/nfs/nfsproto.h  Sat Dec  7 00:53:22 2019        (r355478)
+++ head/sys/fs/nfs/nfsproto.h  Sat Dec  7 01:10:38 2019        (r355479)
@@ -1154,7 +1154,8 @@ struct nfsv3_sattr {
        (NFSATTRBM_LAYOUTTYPE |                                         \
        NFSATTRBM_LAYOUTBLKSIZE |                                       \
        NFSATTRBM_LAYOUTALIGNMENT |                                     \
-       NFSATTRBM_SUPPATTREXCLCREAT)
+       NFSATTRBM_SUPPATTREXCLCREAT |                                   \
+       NFSATTRBM_XATTRSUPPORT)
 
 /*
  * These are the set only attributes.
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to