From: Derrick Brashear Date: Fri, 10 Jan 2003 09:34:38 +0000 (+0000) Subject: nfstrans-solaris-pre-7-support-20021210 X-Git-Tag: openafs-devel-1_3_50~445 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=9624637cfe2c467023dc8e22aa0edc7633041d43;p=packages%2Fo%2Fopenafs.git nfstrans-solaris-pre-7-support-20021210 make it work for 2.6 and earlier ==================== This delta was composed from multiple commits as part of the CVS->Git migration. The checkin message with each commit was inconsistent. The following are the additional commit messages. ==================== actually for earlier than 8 --- diff --git a/src/afs/afs_nfsdisp.c b/src/afs/afs_nfsdisp.c index ad7e73adb..e4fbf9166 100644 --- a/src/afs/afs_nfsdisp.c +++ b/src/afs/afs_nfsdisp.c @@ -678,7 +678,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_SUN58_ENV fhp1 = (nfs_fh3 *) arg->what.dirp; +#else + fhp1 = (nfs_fh3 *) &arg->what.dir; +#endif break; } case NFSPROC3_ACCESS: