Merge pull request #640 from pdebski21/superblock_mismatch

added error code for superblock mismatch
This commit is contained in:
Robert Baldyga
2022-02-03 15:30:03 +01:00
committed by GitHub
3 changed files with 6 additions and 1 deletions

View File

@@ -2327,7 +2327,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);