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:
parent
c298aaa5a9
commit
5d6277e7cf
@ -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,
|
||||
ocf_metadata_end_t cmpl, void *priv)
|
||||
{
|
||||
cmpl(priv, -ENOTSUP);
|
||||
cmpl(priv, 0);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user