From: Derrick Brashear Date: Tue, 5 Feb 2002 21:58:03 +0000 (+0000) Subject: newvolumebyname-analyze-the-vrequest-actually-used-20020205 X-Git-Tag: openafs-devel-1_3_0~15 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=918d96d66548ecff818ec438f26ae06abc3bd34e;p=packages%2Fo%2Fopenafs.git newvolumebyname-analyze-the-vrequest-actually-used-20020205 it's ok to support a null request being passed in, but if a real one is passed in we shouldn't analyze it when it's not the one we used when making calls. --- diff --git a/src/afs/afs_volume.c b/src/afs/afs_volume.c index 1a94a1e66..29609e1a8 100644 --- a/src/afs/afs_volume.c +++ b/src/afs/afs_volume.c @@ -674,7 +674,7 @@ static struct volume *afs_NewVolumeByName(char *aname, afs_int32 acell, int agoo } else code = -1; } while - (afs_Analyze(tconn, code, (struct VenusFid *) 0, areq, + (afs_Analyze(tconn, code, (struct VenusFid *) 0, &treq, -1, /* no op code for this */ SHARED_LOCK, tcell));