[REVERTME] Disable option to perform activate without detach
Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
This commit is contained in:
parent
5ad4d937f6
commit
e2c6a25ee9
@ -2505,6 +2505,11 @@ static void _ocf_mngt_cache_activate(ocf_cache_t cache,
|
||||
if (result)
|
||||
OCF_CMPL_RET(cache, priv1, priv2, -OCF_ERR_NO_MEM);
|
||||
|
||||
if (!ocf_refcnt_frozen(&cache->refcnt.metadata) ||
|
||||
device_cfg->uuid.size == 0) {
|
||||
ocf_cache_log(cache, log_err, "not yet implemented.\n");
|
||||
OCF_CMPL_RET(cache, priv1, priv2, -OCF_ERR_CACHE_EXIST);
|
||||
}
|
||||
|
||||
context = ocf_pipeline_get_priv(pipeline);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user