fix for issue #1024 - mismatch metadata error msg

Signed-off-by: Piotr Debski <piotr.debski@intel.com>
This commit is contained in:
Piotr Debski 2022-01-05 05:23:35 +01:00
parent 63bab9584c
commit 1d1baed247
2 changed files with 5 additions and 1 deletions

View File

@ -154,6 +154,10 @@ struct {
" option or use --force to\n discard on-disk metadata and" " option or use --force to\n discard on-disk metadata and"
" start fresh cache instance.\n" " start fresh cache instance.\n"
}, },
{
OCF_ERR_SUPERBLOCK_MISMATCH,
"Metadata on the device doesn't match with metadata in DRAM"
},
{ {
OCF_ERR_CACHE_NAME_MISMATCH, OCF_ERR_CACHE_NAME_MISMATCH,
"Cache id specified by user and loaded from metadata are different" "Cache id specified by user and loaded from metadata are different"

2
ocf

@ -1 +1 @@
Subproject commit c6644116ae53f7ba851473cda5c02423380ebcdf Subproject commit c176daeec118430d6d1854302b9f9603b9b084ca