Fix double completion in engine_wi
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
This commit is contained in:
parent
d8994e886e
commit
fd508435d6
@ -90,6 +90,8 @@ static int ocf_write_wi_update_and_flush_metadata(struct ocf_request *req)
|
|||||||
/* Request was dirty and need to flush metadata */
|
/* Request was dirty and need to flush metadata */
|
||||||
ocf_metadata_flush_do_asynch(cache, req,
|
ocf_metadata_flush_do_asynch(cache, req,
|
||||||
_ocf_write_wi_io_flush_metadata);
|
_ocf_write_wi_io_flush_metadata);
|
||||||
|
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
_ocf_write_wi_io_flush_metadata(req, 0);
|
_ocf_write_wi_io_flush_metadata(req, 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user