Pass cache_id to cache_mng_add_core_to_cache()
struct ocf_mngt_core_config no longer contains this information, so we need to pass it as separate argument. Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
This commit is contained in:
@@ -177,7 +177,8 @@ long cas_service_ioctl_ctrl(struct file *filp, unsigned int cmd,
|
||||
if (retval)
|
||||
RETURN_CMD_RESULT(cmd_info, arg, retval);
|
||||
|
||||
retval = cache_mng_add_core_to_cache(&cfg, cmd_info);
|
||||
retval = cache_mng_add_core_to_cache(&cfg, cmd_info->cache_id,
|
||||
cmd_info);
|
||||
|
||||
RETURN_CMD_RESULT(cmd_info, arg, retval);
|
||||
}
|
||||
|
Reference in New Issue
Block a user