From: Derrick Brashear Date: Tue, 2 Apr 2002 03:05:15 +0000 (+0000) Subject: STABLE12-newvolumebyname-analyze-the-vrequest-actually-used-20020205 X-Git-Tag: openafs-stable-1_2_4~82 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=03315cc9b77caf57da1f9a40ad2a2e85fe2d9d9a;p=packages%2Fo%2Fopenafs.git STABLE12-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. (cherry picked from commit 918d96d66548ecff818ec438f26ae06abc3bd34e) --- diff --git a/src/afs/afs_volume.c b/src/afs/afs_volume.c index 239f0c396..9642fd81a 100644 --- a/src/afs/afs_volume.c +++ b/src/afs/afs_volume.c @@ -673,7 +673,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));