Whamcloud - gitweb
LU-10391 ptlrpc: change rq_peer to struct lnet_nid
[fs/lustre-release.git] / lustre / ptlrpc / client.c
index 085db74..f1fe6dd 100644 (file)
@@ -127,7 +127,7 @@ struct ptlrpc_connection *ptlrpc_uuid_to_connection(struct obd_uuid *uuid,
 {
        struct ptlrpc_connection *c;
        struct lnet_nid self;
-       struct lnet_process_id peer;
+       struct lnet_processid peer;
        int err;
 
        /*
@@ -141,7 +141,7 @@ struct ptlrpc_connection *ptlrpc_uuid_to_connection(struct obd_uuid *uuid,
                return NULL;
        }
 
-       c = ptlrpc_connection_get(peer, &self, uuid);
+       c = ptlrpc_connection_get(&peer, &self, uuid);
        if (c) {
                memcpy(c->c_remote_uuid.uuid,
                       uuid->uuid, sizeof(c->c_remote_uuid.uuid));