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

@@ -44,6 +44,9 @@ typedef enum {
/** Cache metadata found on device */
OCF_ERR_METADATA_FOUND,
/** Metadata on the device doesn't match with metadata in DRAM */
OCF_ERR_SUPERBLOCK_MISMATCH,
/** Invalid volume type */
OCF_ERR_INVAL_VOLUME_TYPE,
@@ -144,6 +147,7 @@ typedef enum {
OCF_ERR_STANDBY_ATTACHED,
OCF_ERR_MAX = OCF_ERR_STANDBY_ATTACHED,
} ocf_error_t;
#endif /* __OCF_ERR_H__ */