added ERROR code for superblock mismatch

Signed-off-by: Piotr Debski <piotr.debski@intel.com>
This commit is contained in:
Piotr Debski
2022-01-05 05:14:28 +01:00
parent c6644116ae
commit 609a22cfda
3 changed files with 6 additions and 1 deletions

View File

@@ -21,6 +21,7 @@ class OcfErrorCode(IntEnum):
OCF_ERR_METADATA_VER = auto()
OCF_ERR_NO_METADATA = auto()
OCF_ERR_METADATA_FOUND = auto()
OCF_ERR_SUPERBLOCK_MISMATCH = auto()
OCF_ERR_INVAL_VOLUME_TYPE = auto()
OCF_ERR_UNKNOWN = auto()
OCF_ERR_TOO_MANY_CACHES = auto()