X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fldlm%2Fldlm_lockd.c;h=fdf556be7f0175ffab43d9f621ec4fba7e799be8;hb=2ad1df3c62663ce61e82856ebe4f576f751d617d;hp=72a06224b5c194c1f0644d5305e4711a9e7cfda2;hpb=76ffaefbe8efe0c294562b433ed070c094b75519;p=fs%2Flustre-release.git diff --git a/lustre/ldlm/ldlm_lockd.c b/lustre/ldlm/ldlm_lockd.c index 72a0622..fdf556b 100644 --- a/lustre/ldlm/ldlm_lockd.c +++ b/lustre/ldlm/ldlm_lockd.c @@ -248,7 +248,8 @@ static int ldlm_iocontrol(int cmd, struct obd_conn *conn, int len, void *karg, RETURN(-EINVAL); } - ptlrpc_init_client(NULL, LDLM_REQUEST_PORTAL, LDLM_REPLY_PORTAL, + ptlrpc_init_client(NULL, NULL, + LDLM_REQUEST_PORTAL, LDLM_REPLY_PORTAL, obddev->u.ldlm.ldlm_client); connection = ptlrpc_uuid_to_connection("ldlm"); if (!connection) @@ -293,7 +294,8 @@ static int ldlm_setup(struct obd_device *obddev, obd_count len, void *data) OBD_ALLOC(ldlm->ldlm_client, sizeof(*ldlm->ldlm_client)); if (ldlm->ldlm_client == NULL) LBUG(); - ptlrpc_init_client(NULL, LDLM_REQUEST_PORTAL, LDLM_REPLY_PORTAL, + ptlrpc_init_client(NULL, NULL, + LDLM_REQUEST_PORTAL, LDLM_REPLY_PORTAL, ldlm->ldlm_client); MOD_INC_USE_COUNT;