Fix flushing of volatile metadata containers

Before async metadata we used to return 0 on flushing volatile
containers, this way we didn't have to special-case them.
This change brings back this behavior.

Signed-off-by: Jan Musial <jan.musial@intel.com>
This commit is contained in:
Jan Musial 2019-04-08 12:39:53 +02:00
parent c298aaa5a9
commit 5d6277e7cf

View File

@ -42,7 +42,7 @@ void raw_volatile_load_all(ocf_cache_t cache, struct ocf_metadata_raw *raw,
void raw_volatile_flush_all(ocf_cache_t cache, struct ocf_metadata_raw *raw, void raw_volatile_flush_all(ocf_cache_t cache, struct ocf_metadata_raw *raw,
ocf_metadata_end_t cmpl, void *priv) ocf_metadata_end_t cmpl, void *priv)
{ {
cmpl(priv, -ENOTSUP); cmpl(priv, 0);
} }
/* /*