Merge pull request #1516 from mmichal10/fix-compilation

Fix checking user param
This commit is contained in:
Robert Baldyga 2024-09-11 11:19:33 +02:00 committed by GitHub
commit 252866d840
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1075,7 +1075,7 @@ int cache_mngt_core_pool_get_paths(struct kcas_core_pool_path *cmd_info)
struct get_paths_ctx visitor_ctx = {0};
int result;
if (visitor_ctx->core_path_name_tab == NULL)
if (cmd_info->core_path_tab == NULL)
return -EINVAL;
visitor_ctx.core_path_name_tab = cmd_info->core_path_tab;