fl->fl_objsize = size;
do {
- memset(space, 0, size);
list_add((struct list_head *)space, &fl->fl_list);
space += size;
} while (--n != 0);
/* Clear the peer table and wait for all peers to go (they hold refs on
* their NIs) */
- lnet_peer_tables_cleanup();
+ lnet_peer_tables_cleanup(NULL);
lnet_net_lock(LNET_LOCK_EX);
/* Now wait for the NI's I just nuked to show up on ln_zombie_nis
the_lnet.ln_shutdown = 0;
lnet_net_unlock(LNET_LOCK_EX);
-
- if (the_lnet.ln_network_tokens != NULL) {
- LIBCFS_FREE(the_lnet.ln_network_tokens,
- the_lnet.ln_network_tokens_nob);
- the_lnet.ln_network_tokens = NULL;
- }
}
int
if (nets == NULL)
goto failed;
- rc = lnet_parse_networks(&nilist, nets);
- if (rc != 0)
- goto failed;
+ rc = lnet_parse_networks(&nilist, nets);
+ if (rc != 0)
+ goto failed;
while (!list_empty(&nilist)) {
ni = list_entry(nilist.next, lnet_ni_t, ni_list);