From: Nathan Neulinger Date: Sun, 21 Apr 2002 21:50:26 +0000 (+0000) Subject: this means to be calling afs_GetUser with a cell index, not with the cell X-Git-Tag: openafs-stable-1_2_4~39 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=cb16d381f4b63af76dd0719ec56064bddaf18ffc;p=packages%2Fo%2Fopenafs.git this means to be calling afs_GetUser with a cell index, not with the cell structure itself (cherry picked from commit 4f1ca9bb2ebcad7e4e1c7ebea42eb361d506dcc8) --- diff --git a/src/afs/afs_server.c b/src/afs/afs_server.c index e143170ff..2dc146eb2 100644 --- a/src/afs/afs_server.c +++ b/src/afs/afs_server.c @@ -565,7 +565,7 @@ void afs_CheckServers(adown, acellp) continue; /* have just been added by setsprefs */ /* get a connection, even if host is down; bumps conn ref count */ - tu = afs_GetUser(treq.uid, ts->cell, SHARED_LOCK); + tu = afs_GetUser(treq.uid, ts->cell->cell, SHARED_LOCK); tc = afs_ConnBySA(sa, ts->cell->fsport, ts->cell->cell, tu, 1/*force*/, 1/*create*/, SHARED_LOCK); afs_PutUser(tu, SHARED_LOCK);