Ensure that cache name is set and unique

Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
This commit is contained in:
Robert Baldyga
2019-07-20 12:49:57 +02:00
parent 331b99397f
commit 901b39031f
4 changed files with 75 additions and 15 deletions

View File

@@ -57,10 +57,10 @@ typedef enum {
/** Start cache failure */
OCF_ERR_START_CACHE_FAIL,
/** Cache ID does not exist */
/** Cache ID/name does not exist */
OCF_ERR_CACHE_NOT_EXIST,
/** Cache ID already exists */
/** Cache ID/name already exists */
OCF_ERR_CACHE_EXIST,
/** Too many core devices in cache */