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-14790 lnet: Reflect ni_fatal in NI status
[fs/lustre-release.git]
/
lnet
/
lnet
/
router_proc.c
diff --git
a/lnet/lnet/router_proc.c
b/lnet/lnet/router_proc.c
index
7edc4a8
..
5d84c73
100644
(file)
--- a/
lnet/lnet/router_proc.c
+++ b/
lnet/lnet/router_proc.c
@@
-689,7
+689,7
@@
proc_lnet_nis(struct ctl_table *table, int write, void __user *buffer,
lnet_ni_lock(ni);
LASSERT(ni->ni_status != NULL);
- stat = (
ni->ni_status->ns_status
==
+ stat = (
lnet_ni_get_status_locked(ni)
==
LNET_NI_STATUS_UP) ? "up" : "down";
lnet_ni_unlock(ni);