From 03315cc9b77caf57da1f9a40ad2a2e85fe2d9d9a Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Tue, 2 Apr 2002 03:05:15 +0000 Subject: [PATCH] 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) --- src/afs/afs_volume.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- 2.39.5