X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lnet%2Flnet%2Fmodule.c;h=f1fd951f7b3f3c043f6d72ed962f6aab92268d65;hb=bf5db236dd09f4e671f64123a7b54c115b626853;hp=3547a3b22d1f75860d10cd6a57c513c1d9e0eee8;hpb=6dc66068546824a7a0da23fab64fd4934f6be095;p=fs%2Flustre-release.git diff --git a/lnet/lnet/module.c b/lnet/lnet/module.c index 3547a3b..f1fd951 100644 --- a/lnet/lnet/module.c +++ b/lnet/lnet/module.c @@ -53,7 +53,7 @@ lnet_configure(void *arg) LNET_MUTEX_LOCK(&lnet_config_mutex); if (!the_lnet.ln_niinit_self) { - rc = LNetNIInit(LUSTRE_SRV_LNET_PID); + rc = LNetNIInit(LNET_PID_LUSTRE); if (rc >= 0) { the_lnet.ln_niinit_self = 1; rc = 0; @@ -93,7 +93,7 @@ lnet_dyn_configure(struct libcfs_ioctl_hdr *hdr) LNET_MUTEX_LOCK(&lnet_config_mutex); if (the_lnet.ln_niinit_self) - rc = lnet_dyn_add_ni(LUSTRE_SRV_LNET_PID, + rc = lnet_dyn_add_ni(LNET_PID_LUSTRE, conf->cfg_config_u.cfg_net.net_intf, conf->cfg_config_u.cfg_net. net_peer_timeout,