afs-checkservers-call-getuser-with-cell-index-20020321
authorNathan Neulinger <nneul@umr.edu>
Thu, 21 Mar 2002 18:11:50 +0000 (18:11 +0000)
committerDerrick Brashear <shadow@dementia.org>
Thu, 21 Mar 2002 18:11:50 +0000 (18:11 +0000)
this means to be calling afs_GetUser with a cell index, not with the cell
structure itself

src/afs/afs_server.c

index 5c3b48e..7ba2f13 100644 (file)
@@ -561,7 +561,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);