Skip to content

Commit

Permalink
Fix checking user param
Browse files Browse the repository at this point in the history
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
  • Loading branch information
mmichal10 committed Sep 11, 2024
1 parent 7c7e7bf commit e7d7064
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/cas_cache/layer_cache_management.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e7d7064

Please sign in to comment.