From 0790a6275a6fd0ad5c139d52dc66b983abbdba67 Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Tue, 10 Dec 2002 23:17:43 +0000 Subject: [PATCH] STABLE12-nfstrans-solaris-pre-7-support-20021210 make it work for 2.6 and earlier --- src/afs/afs_nfsdisp.c | 4 ++++ 1 file changed, 4 insertions(+) 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: -- 2.39.5