Merge pull request #792 from robertbaldyga/fix-compilation

Fix compilation
This commit is contained in:
Robert Baldyga 2024-04-01 20:58:03 +02:00 committed by GitHub
commit 4177454ae7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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;