Whamcloud - gitweb
LU-10391 ptlrpc: change rq_self to struct lnet_nid
[fs/lustre-release.git] / lustre / ptlrpc / client.c
index fff2296..f9f99dc 100644 (file)
@@ -126,7 +126,7 @@ struct ptlrpc_connection *ptlrpc_uuid_to_connection(struct obd_uuid *uuid,
                                                    lnet_nid_t nid4refnet)
 {
        struct ptlrpc_connection *c;
-       lnet_nid_t self;
+       struct lnet_nid self;
        struct lnet_process_id peer;
        int err;
 
@@ -142,7 +142,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));