From 2abccadb9ea9c7025ba6f138f13c7e960dd6b1fa Mon Sep 17 00:00:00 2001 From: Michal Mielewczyk Date: Mon, 23 Sep 2019 07:59:29 -0400 Subject: [PATCH] New error code for invaild loaded cache name. When loading cache metadata, it should be started with exactly the same name as it was running previously. Otherwise load should fail and return newly added error code. Signed-off-by: Michal Mielewczyk --- inc/ocf_err.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/inc/ocf_err.h b/inc/ocf_err.h index 52345a3..2d0c966 100644 --- a/inc/ocf_err.h +++ b/inc/ocf_err.h @@ -116,6 +116,9 @@ typedef enum { /** Invalid cache line size */ OCF_ERR_INVALID_CACHE_LINE_SIZE, + + /** Invalid cache name loaded*/ + OCF_ERR_CACHE_NAME_MISMATCH, } ocf_error_t; #endif /* __OCF_ERR_H__ */