Explicitly validate superblock after load

Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>

Additional changes - load sb recovery CRC check

Signed-off-by: Krzysztof Majzerowicz-Jaszcz <krzysztof.majzerowicz-jaszcz@intel.com>
This commit is contained in:
Adam Rutkowski
2022-01-24 15:31:06 +01:00
committed by Krzysztof Majzerowicz-Jaszcz
parent 90ff4afcda
commit 866bba72bf
7 changed files with 124 additions and 93 deletions

View File

@@ -179,4 +179,6 @@ int ocf_cache_set_name(ocf_cache_t cache, const char *src, size_t src_size);
int ocf_cache_volume_type_init(ocf_ctx_t ctx);
bool ocf_cache_mode_is_valid(ocf_cache_mode_t mode);
#endif /* __OCF_CACHE_PRIV_H__ */