:        Hello
:
:I read your thread about problem with NFS v3.
:
:I encountered this kind of problem some times ago (since FreeBSD 2.2.2) 
:between DEC stations running Digital Unix 3.2 ou 4.0.
:When doing "ls" in a NFS mounted directory, I got something like that :

    Try the patch I posted a little while ago.  I'll include it again.

    I'm still testing it to make sure it doesn't blow up FreeBSD boxes.

                                        -Matt


Index: nfs_serv.c
===================================================================
RCS file: /home/ncvs/src/sys/nfs/nfs_serv.c,v
retrieving revision 1.85
diff -u -r1.85 nfs_serv.c
--- nfs_serv.c  1999/09/17 05:57:57     1.85
+++ nfs_serv.c  1999/09/22 03:51:36
@@ -3032,11 +3032,13 @@
        nqsrv_getl(vp, ND_READ);
        if (v3) {
                error = getret = VOP_GETATTR(vp, &at, cred, procp);
+#if 0
                /*
                 * XXX This check may be too strict for Solaris 2.5 clients.
                 */
                if (!error && toff && verf && verf != at.va_filerev)
                        error = NFSERR_BAD_COOKIE;
+#endif
        }
        if (!error)
                error = nfsrv_access(vp, VEXEC, cred, rdonly, procp, 0);
@@ -3312,11 +3314,13 @@
                goto nfsmout;
        }
        error = getret = VOP_GETATTR(vp, &at, cred, procp);
+#if 0
        /*
         * XXX This check may be too strict for Solaris 2.5 clients.
         */
        if (!error && toff && verf && verf != at.va_filerev)
                error = NFSERR_BAD_COOKIE;
+#endif
        if (!error) {
                nqsrv_getl(vp, ND_READ);
                error = nfsrv_access(vp, VEXEC, cred, rdonly, procp, 0);


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to