From: Derrick Brashear Date: Tue, 10 Dec 2002 23:17:43 +0000 (+0000) Subject: STABLE12-nfstrans-solaris-pre-7-support-20021210 X-Git-Tag: openafs-stable-1_2_8 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=0790a6275a6fd0ad5c139d52dc66b983abbdba67;p=packages%2Fo%2Fopenafs.git STABLE12-nfstrans-solaris-pre-7-support-20021210 make it work for 2.6 and earlier --- diff --git a/src/afs/afs_nfsdisp.c b/src/afs/afs_nfsdisp.c index 101d93540..e5c2daaa6 100644 --- a/src/afs/afs_nfsdisp.c +++ b/src/afs/afs_nfsdisp.c @@ -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: