X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lnet%2Fklnds%2Fo2iblnd%2Fo2iblnd.c;h=82b8d10a017957935cd659fbcbc23136c9d1788c;hp=ae84f06bf8c410c90c40a11fd9c068235679f01d;hb=0024460d797490ae90a2221cb5d4648c9d4fac82;hpb=9029e0d27f256bc75de1d2afc4bab31200020d74 diff --git a/lnet/klnds/o2iblnd/o2iblnd.c b/lnet/klnds/o2iblnd/o2iblnd.c index ae84f06..82b8d10 100644 --- a/lnet/klnds/o2iblnd/o2iblnd.c +++ b/lnet/klnds/o2iblnd/o2iblnd.c @@ -2023,7 +2023,7 @@ kiblnd_fail_poolset(struct kib_poolset *ps, struct list_head *zombies) spin_lock(&ps->ps_lock); while ((po = list_first_entry_or_null(&ps->ps_pool_list, struct kib_pool, - po_list)) == NULL) { + po_list)) != NULL) { po->po_failed = 1; if (po->po_allocated == 0) list_move(&po->po_list, zombies);