Whamcloud - gitweb
LU-10391 lnet: use large nids in struct lnet_event
[fs/lustre-release.git] / lustre / include / obd_class.h
index bbb571b..06658d2 100644 (file)
@@ -101,13 +101,13 @@ int class_notify_sptlrpc_conf(const char *fsname, int namelen);
 static inline char *obd_export_nid2str(struct obd_export *exp)
 {
        return exp->exp_connection == NULL ?
-              "<unknown>" : libcfs_nid2str(exp->exp_connection->c_peer.nid);
+              "<unknown>" : libcfs_nidstr(&exp->exp_connection->c_peer.nid);
 }
 
 static inline char *obd_import_nid2str(struct obd_import *imp)
 {
        return imp->imp_connection == NULL ?
-              "<unknown>" : libcfs_nid2str(imp->imp_connection->c_peer.nid);
+              "<unknown>" : libcfs_nidstr(&imp->imp_connection->c_peer.nid);
 }
 
 int obd_export_evict_by_nid(struct obd_device *obd, const char *nid);