Add missing ocf_io_put to error path in ocf_core_volume_submit_io
Signed-off-by: Kozlowski Mateusz <mateusz.kozlowski@intel.com>
This commit is contained in:
parent
3adc94f41f
commit
ec4bea4fc0
@ -269,6 +269,7 @@ void ocf_core_volume_submit_io(struct ocf_io *io)
|
|||||||
if (ret) {
|
if (ret) {
|
||||||
dec_counter_if_req_was_dirty(req);
|
dec_counter_if_req_was_dirty(req);
|
||||||
ocf_io_end(io, ret);
|
ocf_io_end(io, ret);
|
||||||
|
ocf_io_put(io);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user