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-9100 lnet: lctl net down success when lnet not loaded
[fs/lustre-release.git]
/
lnet
/
utils
/
portals.c
diff --git
a/lnet/utils/portals.c
b/lnet/utils/portals.c
index
808f90f
..
b486569
100644
(file)
--- a/
lnet/utils/portals.c
+++ b/
lnet/utils/portals.c
@@
-312,6
+312,11
@@
int jt_ptl_network(int argc, char **argv)
return 0;
}
+ if (errno == ENODEV) {
+ printf("LNET is currently not loaded.");
+ return 0;
+ }
+
if (errno == EBUSY)
fprintf(stderr, "LNET busy\n");
else