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 lnet: make "struct lnet_lnd" always "const".
[fs/lustre-release.git]
/
lnet
/
klnds
/
gnilnd
/
gnilnd.c
diff --git
a/lnet/klnds/gnilnd/gnilnd.c
b/lnet/klnds/gnilnd/gnilnd.c
index
90ee025
..
a197c99
100644
(file)
--- a/
lnet/klnds/gnilnd/gnilnd.c
+++ b/
lnet/klnds/gnilnd/gnilnd.c
@@
-25,7
+25,7
@@
#include "gnilnd.h"
/* Primary entry points from LNET. There are no guarantees against reentrance. */
#include "gnilnd.h"
/* Primary entry points from LNET. There are no guarantees against reentrance. */
-struct lnet_lnd the_kgnilnd = {
+
const
struct lnet_lnd the_kgnilnd = {
.lnd_type = GNILND,
.lnd_startup = kgnilnd_startup,
.lnd_shutdown = kgnilnd_shutdown,
.lnd_type = GNILND,
.lnd_startup = kgnilnd_startup,
.lnd_shutdown = kgnilnd_shutdown,