Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-12678 o2iblnd: fix bug in list_first_entry() change.
[fs/lustre-release.git]
/
lnet
/
klnds
/
o2iblnd
/
o2iblnd.c
diff --git
a/lnet/klnds/o2iblnd/o2iblnd.c
b/lnet/klnds/o2iblnd/o2iblnd.c
index
ae84f06
..
82b8d10
100644
(file)
--- 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);