]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE12-nfstrans-solaris-pre-7-support-20021210 openafs-stable-1_2_8
authorDerrick Brashear <shadow@dementia.org>
Tue, 10 Dec 2002 23:17:43 +0000 (23:17 +0000)
committerDerrick Brashear <shadow@dementia.org>
Tue, 10 Dec 2002 23:17:43 +0000 (23:17 +0000)
make it work for 2.6 and earlier

src/afs/afs_nfsdisp.c

index 101d93540fb2c97d0b473ff36b00bc8208667c6f..e5c2daaa682860952c9cd64f2b0abc72a42081e7 100644 (file)
@@ -677,7 +677,11 @@ nfs3_to_afs_call(int which, caddr_t *args, nfs_fh3 **fhpp, nfs_fh3 **fh2pp)
     case NFSPROC3_LOOKUP:
     {
        LOOKUP3args *arg = (LOOKUP3args *)args;
+#ifdef AFS_SUN57_ENV
        fhp1 = (nfs_fh3 *) &arg->what.dirp;
+#else
+       fhp1 = (nfs_fh3 *) &arg->what.dir;
+#endif
        break;
     }
     case NFSPROC3_ACCESS: