> *** CID 425351: Null pointer dereferences (NULL_RETURNS)
> /lustre/utils/liblustreapi_layout.c: 2445 in llapi_layout_file_comp_add()
> 2439 rc = -1;
> 2440 goto out;
> 2441 }
> 2442
> 2443 comp = __llapi_layout_cur_comp(layout);
> 2444
>>>> CID 425351: Null pointer dereferences (NULL_RETURNS)
>>>> Dereferencing "comp", which is known to be "NULL".
> 2445 if (comp->llc_pool_name[0] != '\0' &&
> 2446 !lov_pool_is_ignored(comp->llc_pool_name)) {
> 2447 rc = llapi_search_fsname(path, fsname);
> 2448 if (rc) {
> 2449 tmp_errno = -rc;
> 2450 rc = -1;
>