From b67317fa07fa4c1df6818d623c6dec48418bb6ba Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Mon, 11 Nov 2002 00:53:46 +0000 Subject: [PATCH] nfs-translator-fix-lookup-20021110 add fstrace statement, remove bogus & --- src/afs/afs_nfsdisp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: -- 2.39.5