Merge pull request #384 from mmichal10/remove-core-fix
Pass remove core result to cli
This commit is contained in:
commit
aeb166df58
@ -1326,10 +1326,10 @@ int cache_mngt_remove_core_from_cache(struct kcas_remove_core *cmd)
|
|||||||
mark_core_id_free(cache, cmd->core_id);
|
mark_core_id_free(cache, cmd->core_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
unlock:
|
||||||
if (!result && prepare_result)
|
if (!result && prepare_result)
|
||||||
result = prepare_result;
|
result = prepare_result;
|
||||||
|
|
||||||
unlock:
|
|
||||||
ocf_mngt_cache_unlock(cache);
|
ocf_mngt_cache_unlock(cache);
|
||||||
put:
|
put:
|
||||||
ocf_mngt_cache_put(cache);
|
ocf_mngt_cache_put(cache);
|
||||||
|
Loading…
Reference in New Issue
Block a user