out_req:
if (req != NULL)
- ptlrpc_req_finished(req);
+ ptlrpc_req_put(req);
osp_update_request_destroy(env, update);
rc = osp_remote_sync(env, osp, update, &req);
if (req != NULL)
- ptlrpc_req_finished(req);
+ ptlrpc_req_put(req);
osp_update_request_destroy(env, update);
} else {
}
if (req)
- ptlrpc_req_finished(req);
+ ptlrpc_req_put(req);
if (update && !IS_ERR(update))
osp_update_request_destroy(env, update);
it->ooi_next = ii->ii_hash_end;
out:
- ptlrpc_req_finished(req);
+ ptlrpc_req_put(req);
return rc;
}