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-11469 lnet: fix "debug recovery" output
[fs/lustre-release.git]
/
lnet
/
utils
/
lnetconfig
/
liblnetconfig.c
diff --git
a/lnet/utils/lnetconfig/liblnetconfig.c
b/lnet/utils/lnetconfig/liblnetconfig.c
index
4978c42
..
a3d8a5c
100644
(file)
--- a/
lnet/utils/lnetconfig/liblnetconfig.c
+++ b/
lnet/utils/lnetconfig/liblnetconfig.c
@@
-3476,6
+3476,9
@@
int show_recovery_queue(enum lnet_health_type type, char *name, int seq_no,
goto out;
}
+ if (nid_list.rlst_num_nids == 0)
+ goto out;
+
root = cYAML_create_object(NULL, NULL);
if (root == NULL)
goto out;