Fix compilation

Signed-off-by: Robert Baldyga <robert.baldyga@open-cas.com>
This commit is contained in:
Robert Baldyga 2024-04-01 18:26:33 +00:00
parent f39a57a974
commit 5710ca8b4a
2 changed files with 2 additions and 7 deletions

Binary file not shown.

View File

@ -180,11 +180,6 @@ static int _ocf_cleaner_complete(struct ocf_request *master)
return 0;
}
static const struct ocf_io_if _io_if_cleaner_complete = {
.read = _ocf_cleaner_complete,
.write = _ocf_cleaner_complete,
};
static void _ocf_cleaner_complete_req(struct ocf_request *req)
{
struct ocf_request *master = NULL;
@ -213,8 +208,8 @@ static void _ocf_cleaner_complete_req(struct ocf_request *req)
if (master->complete_queue) {
ocf_req_get(master);
ocf_engine_push_req_front_if(master,
&_io_if_cleaner_complete, true);
ocf_engine_push_req_front_cb(master,
_ocf_cleaner_complete, true);
} else {
/* Only master contains completion function and priv */
cmpl = master->master_io_req;