Handle separate functons for retrieving core stats and info.
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
This commit is contained in:
@@ -1909,7 +1909,7 @@ int cache_mngt_get_core_info(struct kcas_core_info *info)
|
||||
goto unlock;
|
||||
}
|
||||
|
||||
result = ocf_core_get_stats(core, &info->stats);
|
||||
result = ocf_core_get_info(core, &info->info);
|
||||
if (result)
|
||||
goto unlock;
|
||||
|
||||
|
Reference in New Issue
Block a user