Pass user's params when opening a core volume

Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
This commit is contained in:
Gershon Geva
2023-10-08 12:33:06 +03:00
committed by Michal Mielewczyk
parent 87b16aef6a
commit 2096e34489
3 changed files with 9 additions and 1 deletions

View File

@@ -414,7 +414,7 @@ static void ocf_mngt_cache_add_core_insert(ocf_pipeline_t pipeline,
OCF_PL_FINISH_RET(pipeline, result);
}
result = ocf_volume_open(volume, NULL);
result = ocf_volume_open(volume, cfg->volume_params);
if (result)
OCF_PL_FINISH_RET(pipeline, result);