Whamcloud - gitweb
LU-10391 lnet: switch LNetIsPeerLocal() to take 16-byte addr
[fs/lustre-release.git] / lustre / include / lustre_net.h
index 287eec2..a11825c 100644 (file)
@@ -1971,7 +1971,7 @@ static inline bool ptlrpc_connection_is_local(struct ptlrpc_connection *conn)
        if (nid_same(&conn->c_peer.nid, &conn->c_self))
                return true;
 
-       RETURN(LNetIsPeerLocal(lnet_nid_to_nid4(&conn->c_peer.nid)));
+       RETURN(LNetIsPeerLocal(&conn->c_peer.nid));
 }
 
 /* ptlrpc/niobuf.c */