svn commit: r223750 - stable/8/sys/fs/nfsserver

Rick Macklem rmacklem at FreeBSD.org
Mon Jul 4 01:06:19 UTC 2011


Author: rmacklem
Date: Mon Jul  4 01:06:19 2011
New Revision: 223750
URL: http://svn.freebsd.org/changeset/base/223750

Log:
  MFC: r223348
  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.

Modified:
  stable/8/sys/fs/nfsserver/nfs_nfsdsocket.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)

Modified: stable/8/sys/fs/nfsserver/nfs_nfsdsocket.c
==============================================================================
--- stable/8/sys/fs/nfsserver/nfs_nfsdsocket.c	Mon Jul  4 00:45:21 2011	(r223749)
+++ stable/8/sys/fs/nfsserver/nfs_nfsdsocket.c	Mon Jul  4 01:06:19 2011	(r223750)
@@ -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) &&


More information about the svn-src-stable mailing list