Store name for newly initialized cache in array instead of passing pointer.
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
This commit is contained in:
@@ -235,7 +235,7 @@ struct ocf_mngt_cache_config {
|
||||
/**
|
||||
* @brief Cache name
|
||||
*/
|
||||
const char *name;
|
||||
char name[OCF_CACHE_NAME_SIZE];
|
||||
|
||||
/**
|
||||
* @brief Cache mode
|
||||
|
||||
Reference in New Issue
Block a user