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

@@ -2277,7 +2277,7 @@ static void _ocf_mngt_activate_compare_superblock_end(
if (diff) {
ocf_cache_log(cache, log_err, "Superblock mismatch!\n");
OCF_PL_FINISH_RET(context->pipeline, -OCF_ERR_INVAL);
OCF_PL_FINISH_RET(context->pipeline, -OCF_ERR_SUPERBLOCK_MISMATCH);
}
ocf_pipeline_next(context->pipeline);