Casadm update

Add extended error message in casadm.
Add shortened code mapping for new error code.

Signed-off-by: Ostrokrzew <slawomir.jankowski@intel.com>
Signed-off-by: Slawomir Jankowski <slawomir.jankowski@intel.com>
This commit is contained in:
Ostrokrzew
2019-12-24 14:01:10 +01:00
committed by Slawomir Jankowski
parent 45e862fdbd
commit bbc03abdf7
2 changed files with 7 additions and 2 deletions

View File

@@ -45,6 +45,7 @@ struct {
{ OCF_ERR_CORE_IN_INACTIVE_STATE, ENODEV },
{ OCF_ERR_INVALID_CACHE_MODE, EINVAL },
{ OCF_ERR_INVALID_CACHE_LINE_SIZE, EINVAL },
{ OCF_ERR_INVAL_CACHE_DEV, EINVAL },
/* CAS kernel error mappings*/
{ KCAS_ERR_ROOT, EPERM },