X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fldlm%2Fldlm_lib.c;fp=lustre%2Fldlm%2Fldlm_lib.c;h=2b62e25f887e0d1bb0c65ee12e01bf83e3423cd5;hb=37b29a8f709aa4bd2e22cbb3549257b28cd85610;hp=b0649fd0cf745e18e1f2ef38ba210ceec0e21bfe;hpb=513dde601d2e927566f80ffdae4f381718864747;p=fs%2Flustre-release.git diff --git a/lustre/ldlm/ldlm_lib.c b/lustre/ldlm/ldlm_lib.c index b0649fd..2b62e25f 100644 --- a/lustre/ldlm/ldlm_lib.c +++ b/lustre/ldlm/ldlm_lib.c @@ -1456,6 +1456,9 @@ dont_check_exports: export->exp_connection = ptlrpc_connection_get(req->rq_peer, req->rq_self, &cluuid); + if (!export->exp_connection) + GOTO(out, rc = -ENOTCONN); + obd_nid_add(export->exp_obd, export); lustre_msg_set_handle(req->rq_repmsg, &conn);