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-16051 o2iblnd: detect link state to set fatal error on ni
[fs/lustre-release.git]
/
lnet
/
klnds
/
o2iblnd
/
o2iblnd.h
diff --git
a/lnet/klnds/o2iblnd/o2iblnd.h
b/lnet/klnds/o2iblnd/o2iblnd.h
index
0a8547d
..
b48bdc9
100644
(file)
--- a/
lnet/klnds/o2iblnd/o2iblnd.h
+++ b/
lnet/klnds/o2iblnd/o2iblnd.h
@@
-1170,4
+1170,7
@@
int kiblnd_recv(struct lnet_ni *ni, void *private, struct lnet_msg *lntmsg,
unsigned int rlen);
unsigned int kiblnd_get_dev_prio(struct lnet_ni *ni, unsigned int dev_idx);
-
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 11, 0)
+#undef netdev_notifier_info_to_dev
+#define netdev_notifier_info_to_dev(ndev) ndev
+#endif