nfs-translator-call-lookup-with-correct-form-of-dir-20020116
authorDerrick Brashear <shadow@dementia.org>
Wed, 16 Jan 2002 09:27:04 +0000 (09:27 +0000)
committerDerrick Brashear <shadow@dementia.org>
Wed, 16 Jan 2002 09:27:04 +0000 (09:27 +0000)
based on information from Kris Van Hees

still untested

src/afs/afs_nfsdisp.c

index 3bafeff..1f2815d 100644 (file)
@@ -494,7 +494,7 @@ nfs3_to_afs_call(int which, caddr_t *args, nfs_fh3 **fhpp, nfs_fh3 **fh2pp)
         case NFSPROC3_LOOKUP: 
        {
             LOOKUP3args *arg = (LOOKUP3args *)args;
-            fhp1 = (nfs_fh3 *) &arg->what.dir;
+            fhp1 = (nfs_fh3 *) &arg->what.dirp;
             break;
         } 
         case NFSPROC3_ACCESS: