req = ptlrpc_request_alloc(imp,
&RQF_OST_STATFS);
if (req != NULL)
- ptlrpc_req_finished(req);
+ ptlrpc_req_put(req);
}
imp->imp_idle_timeout = val;
}
/* to initiate the connection if it's in IDLE state */
req = ptlrpc_request_alloc(imp, &RQF_OST_STATFS);
if (req)
- ptlrpc_req_finished(req);
+ ptlrpc_req_put(req);
ptlrpc_pinger_force(imp);
}
EXIT;
out:
- ptlrpc_req_finished(req);
+ ptlrpc_req_put(req);
return rc;
}
EXIT;
out:
- ptlrpc_req_finished(req);
+ ptlrpc_req_put(req);
RETURN(rc);
}
CDEBUG(D_HA, "transno: %lld\n",
lustre_msg_get_transno(req->rq_repmsg));
out_req:
- ptlrpc_req_finished(req);
+ ptlrpc_req_put(req);
out:
RETURN(rc);
}
cli->cl_destroy_waitq,
osc_can_send_destroy(cli));
if (rc) {
- ptlrpc_req_finished(req);
+ ptlrpc_req_put(req);
RETURN(-EINTR);
}
}
new_aa->aa_resends = aa->aa_resends;
if (aa->aa_request) {
- ptlrpc_req_finished(aa->aa_request);
+ ptlrpc_req_put(aa->aa_request);
new_aa->aa_request = ptlrpc_request_addref(new_req);
}
if (aa->aa_request) {
__u64 xid = ptlrpc_req_xid(req);
- ptlrpc_req_finished(req);
+ ptlrpc_req_put(req);
if (xid && lustre_msg_get_opc(req->rq_reqmsg) == OST_WRITE) {
spin_lock(&cli->cl_loi_list_lock);
osc_process_ar(&cli->cl_ar, xid, rc);
EXIT;
out:
- ptlrpc_req_finished(req);
+ ptlrpc_req_put(req);
return rc;
}
aa = ptlrpc_req_async_args(aa, req);
OBD_SLAB_ALLOC_PTR_GFP(oa, osc_obdo_kmem, GFP_NOFS);
if (!oa) {
- ptlrpc_req_finished(req);
+ ptlrpc_req_put(req);
RETURN(-ENOMEM);
}
*oa = ((struct ost_body *)val)->oa;