]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE12-newvolumebyname-analyze-the-vrequest-actually-used-20020205
authorDerrick Brashear <shadow@dementia.org>
Tue, 2 Apr 2002 03:05:15 +0000 (03:05 +0000)
committerDerrick Brashear <shadow@dementia.org>
Tue, 2 Apr 2002 03:05:15 +0000 (03:05 +0000)
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

index 239f0c39696a3dacb12474add3aa711dc8fe043d..9642fd81a0729fddfd56d334c3f4a5c93b5398c6 100644 (file)
@@ -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));