Fix copy+paste bug from "upcall removal" landing. b=3262 r=nathan, green
Add debugging for missing reconnect RPC. b=5933
dlmexp = class_conn2export(&imp->imp_dlm_handle);
LASSERT(dlmexp != NULL);
if (dlmexp->exp_connection)
- ptlrpc_put_connection(imp->imp_connection);
+ ptlrpc_put_connection(dlmexp->exp_connection);
dlmexp->exp_connection = ptlrpc_connection_addref(imp_conn->oic_conn);
class_export_put(dlmexp);
if (aa->pcaa_initial_connect)
imp->imp_replayable = 1;
+ DEBUG_REQ(D_RPCTRACE, request, "(re)connect request");
ptlrpcd_add_req(request);
rc = 0;
out: