X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lnet%2Finclude%2Flnet%2Flib-types.h;h=9f8a817841c37c5208527bce5221fbb7028241f3;hp=4ffb27cdeaec04eb2e92aa0fc55d306e50958272;hb=e520ee276800362caa652088b56325fac16aef7f;hpb=f6cd6a880cd03fd1d3fd3d8e03133f0835ad275d;ds=sidebyside diff --git a/lnet/include/lnet/lib-types.h b/lnet/include/lnet/lib-types.h index 4ffb27c..9f8a817 100644 --- a/lnet/include/lnet/lib-types.h +++ b/lnet/include/lnet/lib-types.h @@ -46,6 +46,7 @@ #include #include #include +#include #include #include @@ -580,7 +581,7 @@ struct lnet_peer_ni { /* peer's NID */ lnet_nid_t lpni_nid; /* # refs */ - atomic_t lpni_refcount; + struct kref lpni_kref; /* health value for the peer */ atomic_t lpni_healthv; /* recovery ping mdh */