> *** CID 425352: Null pointer dereferences (NULL_RETURNS)
> /lustre/utils/liblustreapi_layout.c: 1790 in llapi_layout_file_open()
> 1784 errno = EINVAL;
> 1785 return -1;
> 1786 }
> 1787
> 1788 if (layout) {
> 1789 /* Make sure we are on a Lustre file system */
>>>> CID 425352: Null pointer dereferences (NULL_RETURNS)
>>>> Dereferencing "comp", which is known to be "NULL".
> 1790 if (comp->llc_pool_name[0] != '\0' &&
> 1791 !lov_pool_is_ignored(comp->llc_pool_name)) {
> 1792 rc = llapi_search_fsname(path, fsname);
> 1793 if (rc) {
> 1794 errno = ENOTTY;
> 1795 return -1;