out:
if (req != NULL)
- ptlrpc_req_finished(req);
+ ptlrpc_req_put(req);
osp_update_request_destroy(env, update);
out:
if (req)
- ptlrpc_req_finished(req);
+ ptlrpc_req_put(req);
if (update && !IS_ERR(update))
osp_update_request_destroy(env, update);
(const union ldlm_policy_data *)policy, &flags,
NULL, 0, LVB_T_NONE, lh, 0);
- ptlrpc_req_finished(req);
+ ptlrpc_req_put(req);
RETURN(rc == ELDLM_OK ? 0 : -EIO);
}
rc = orr->orr_size;
*pos = orr->orr_offset;
out:
- ptlrpc_req_finished(req);
+ ptlrpc_req_put(req);
out_update:
osp_update_request_destroy(env, update);