]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
this means to be calling afs_GetUser with a cell index, not with the cell
authorNathan Neulinger <nneul@umr.edu>
Sun, 21 Apr 2002 21:50:26 +0000 (21:50 +0000)
committerGarry Zacheiss <zacheiss@mit.edu>
Sun, 21 Apr 2002 21:50:26 +0000 (21:50 +0000)
structure itself

(cherry picked from commit 4f1ca9bb2ebcad7e4e1c7ebea42eb361d506dcc8)

src/afs/afs_server.c

index e143170ff8b7cf0da86c6835da1af659f85ec709..2dc146eb2e0abef91ef36bb5417c2524747f4e1f 100644 (file)
@@ -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);