Changeset 58c43d4 in mainline
- Timestamp:
- 2025-04-20T13:46:15Z (4 weeks ago)
- Children:
- 6a854c5
- Parents:
- 14394141
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/bd/hr/util.c
r14394141 r58c43d4 746 746 747 747 static errno_t hr_util_get_matching_md_svcs_list(list_t *rlist, list_t *list, 748 service_id_t svc_id, metadata_type_t type , void *metadata_struct_main)748 service_id_t svc_id, metadata_type_t type_main, void *metadata_struct_main) 749 749 { 750 750 HR_DEBUG("%s()", __func__); 751 751 752 752 errno_t rc = EOK; 753 754 hr_superblock_ops_t *meta_ops = get_type_ops(type_main); 755 meta_ops->dump(metadata_struct_main); 753 756 754 757 list_foreach(*list, link, struct dev_list_member, iter) { … … 765 768 goto error; 766 769 767 hr_superblock_ops_t *meta_ops = get_type_ops(type); 770 if (type != type_main) { 771 free(metadata_struct); 772 continue; 773 } 768 774 769 775 if (!meta_ops->compare_uuids(metadata_struct_main,
Note:
See TracChangeset
for help on using the changeset viewer.