Call afs_PutCell after afs_GetCellByIndex, even though right
authorNickolai Zeldovich <kolya@mit.edu>
Mon, 18 Mar 2002 02:51:13 +0000 (02:51 +0000)
committerNickolai Zeldovich <kolya@mit.edu>
Mon, 18 Mar 2002 02:51:13 +0000 (02:51 +0000)
now it doesn't do anything.

src/afs/afs_callback.c

index cf7da16..f59ef40 100644 (file)
@@ -1200,6 +1200,7 @@ int SRXAFSCB_GetCellServDB(
            a_hosts[j] = ntohl(tcell->cellHosts[j]->addr->sa_ip);
        }
        i = strlen(p_name);
+       afs_PutCell(tcell, READ_LOCK);
     }
 
     t_name = (char *)rxi_Alloc(i+1);