Merge pull request #792 from robertbaldyga/fix-compilation
Fix compilation
This commit is contained in:
commit
4177454ae7
BIN
src/engine/.cache_engine.h.swp
Normal file
BIN
src/engine/.cache_engine.h.swp
Normal file
Binary file not shown.
@ -180,11 +180,6 @@ static int _ocf_cleaner_complete(struct ocf_request *master)
|
|||||||
return 0;
|
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)
|
static void _ocf_cleaner_complete_req(struct ocf_request *req)
|
||||||
{
|
{
|
||||||
struct ocf_request *master = NULL;
|
struct ocf_request *master = NULL;
|
||||||
@ -213,8 +208,8 @@ static void _ocf_cleaner_complete_req(struct ocf_request *req)
|
|||||||
|
|
||||||
if (master->complete_queue) {
|
if (master->complete_queue) {
|
||||||
ocf_req_get(master);
|
ocf_req_get(master);
|
||||||
ocf_engine_push_req_front_if(master,
|
ocf_engine_push_req_front_cb(master,
|
||||||
&_io_if_cleaner_complete, true);
|
_ocf_cleaner_complete, true);
|
||||||
} else {
|
} else {
|
||||||
/* Only master contains completion function and priv */
|
/* Only master contains completion function and priv */
|
||||||
cmpl = master->master_io_req;
|
cmpl = master->master_io_req;
|
||||||
|
Loading…
Reference in New Issue
Block a user