From: Derrick Brashear Date: Mon, 11 Nov 2002 00:53:46 +0000 (+0000) Subject: nfs-translator-fix-lookup-20021110 X-Git-Tag: openafs-devel-1_3_50~516 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=b67317fa07fa4c1df6818d623c6dec48418bb6ba;p=packages%2Fo%2Fopenafs.git nfs-translator-fix-lookup-20021110 add fstrace statement, remove bogus & --- diff --git a/src/afs/afs_nfsdisp.c b/src/afs/afs_nfsdisp.c index 904b4136c..16c15852f 100644 --- a/src/afs/afs_nfsdisp.c +++ b/src/afs/afs_nfsdisp.c @@ -83,6 +83,7 @@ nfs2_to_afs_call(int which, caddr_t *args, fhandle_t **fhpp, fhandle_t **fh2pp) fhandle_t *fhp2=0; int errorcode; + afs_Trace1(afs_iclSetp, CM_TRACE_NFSIN, ICL_TYPE_INT32, which); *fh2pp = (fhandle_t *)0; switch (which) { case RFS_GETATTR: @@ -677,7 +678,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.dirp; + fhp1 = (nfs_fh3 *) arg->what.dirp; break; } case NFSPROC3_ACCESS: