Whamcloud - gitweb
LU-10391 lnet: Change LNetDist to work with struct lnet_nid
[fs/lustre-release.git] / lnet / include / lnet / api.h
index 093854b..930485a 100644 (file)
@@ -75,7 +75,7 @@ int LNetNIFini(void);
  * \see LNetMEAttach
  * @{ */
 int LNetGetId(unsigned int index, struct lnet_processid *id);
-int LNetDist(lnet_nid_t nid, lnet_nid_t *srcnid, __u32 *order);
+int LNetDist(struct lnet_nid *nid, struct lnet_nid *srcnid, __u32 *order);
 void LNetPrimaryNID(struct lnet_nid *nid);
 bool LNetIsPeerLocal(lnet_nid_t nid);