Author: rmacklem
Date: Mon Jun 20 21:57:26 2011
New Revision: 223348
URL: http://svn.freebsd.org/changeset/base/223348

Log:
  Fix the new NFSv4 server so that it allows Access and Readlink
  operations while traversing non-exported file systems. This is
  required for some non-FreeBSD clients to do NFSv4 mounts. Found during
  the recent NFSv4 interoperability Bakeathon.
  
  MFC after:    2 weeks

Modified:
  head/sys/fs/nfsserver/nfs_nfsdsocket.c

Modified: head/sys/fs/nfsserver/nfs_nfsdsocket.c
==============================================================================
--- head/sys/fs/nfsserver/nfs_nfsdsocket.c      Mon Jun 20 21:36:53 2011        
(r223347)
+++ head/sys/fs/nfsserver/nfs_nfsdsocket.c      Mon Jun 20 21:57:26 2011        
(r223348)
@@ -786,6 +786,8 @@ nfsrvd_compound(struct nfsrv_descript *n
                            op != NFSV4OP_LOOKUP &&
                            op != NFSV4OP_GETATTR &&
                            op != NFSV4OP_GETFH &&
+                           op != NFSV4OP_ACCESS &&
+                           op != NFSV4OP_READLINK &&
                            op != NFSV4OP_SECINFO)
                                nd->nd_repstat = NFSERR_NOFILEHANDLE;
                        else if (nfsvno_testexp(nd, &vpnes) &&
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to