Pass remove core result to cli
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
This commit is contained in:
parent
bcb524a304
commit
e1b8ddbc40
@ -1326,10 +1326,10 @@ int cache_mngt_remove_core_from_cache(struct kcas_remove_core *cmd)
|
||||
mark_core_id_free(cache, cmd->core_id);
|
||||
}
|
||||
|
||||
unlock:
|
||||
if (!result && prepare_result)
|
||||
result = prepare_result;
|
||||
|
||||
unlock:
|
||||
ocf_mngt_cache_unlock(cache);
|
||||
put:
|
||||
ocf_mngt_cache_put(cache);
|
||||
|
Loading…
Reference in New Issue
Block a user