**ocf_mngt.h**: In core name change
pointer type to array which is 32 characters long; **core.py**: Add missing import and modify class' field type to keep consistency; **ocf_mngt_core**: Remove local variable 'name'; remove env_vmalloc for 'name' - isn't no longer needed; remove initialization 'name' - as above; remove env_vfree for context->cfg.name - variable isn't no allocated in memory; check if cfg->name exists; change label in goto from deleted err_name to the closest err_pipeline. Signed-off-by: Slawomir_Jankowski <slawomir.jankowski@intel.com>
This commit is contained in:
@@ -22,7 +22,7 @@ struct ocf_mngt_core_config {
|
||||
/**
|
||||
* @brief OCF core name
|
||||
*/
|
||||
const char *name;
|
||||
char name[OCF_CORE_NAME_SIZE];
|
||||
|
||||
/**
|
||||
* @brief OCF core volume UUID
|
||||
|
||||
Reference in New Issue
Block a user