rc = -errno;
goto free_layout;
}
- rc = llapi_layout_sanity_fsname_check(layout, fname, false, true);
+ rc = llapi_layout_sanity(layout, false, true);
if (rc < 0) {
llapi_layout_sanity_perror(errno);
goto free_layout;
return -ENODATA;
}
- rc = llapi_layout_sanity_fsname_check(layout, fname,
- false, true);
+ rc = llapi_layout_sanity(layout, false, true);
llapi_layout_free(layout);
}
}
- rc = llapi_layout_sanity_fsname_check(list->m_layout, fname,
- false, true);
+ rc = llapi_layout_sanity(list->m_layout, false, true);
if (rc) {
llapi_layout_sanity_perror(rc);
return rc;
return -EINVAL;
}
- rc = llapi_layout_sanity_fsname_check(layout, fname, false, true);
+ rc = llapi_layout_sanity(layout, false, true);
if (rc) {
llapi_layout_sanity_perror(rc);
goto free_layout;