Changeset 80c760e in mainline for uspace/srv/bd/hr/metadata/native.c
- Timestamp:
- 2025-04-21T12:34:02Z (3 months ago)
- Children:
- 75262d2f
- Parents:
- 18c3658
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/bd/hr/metadata/native.c
r18c3658 r80c760e 139 139 HR_DEBUG("%s()", __func__); 140 140 141 errno_t rc = EOK;142 143 141 hr_metadata_t *main_meta = NULL; 144 142 size_t max_counter_val = 0; … … 169 167 170 168 vol->extents[iter_meta->index].svc_id = iter->svc_id; 171 172 uint64_t blkno; 173 rc = block_get_nblocks(iter->svc_id, &blkno); 174 if (rc != EOK) 175 goto error; 176 177 vol->extents[iter_meta->index].blkno = blkno; 169 iter->fini = false; 178 170 179 171 if (iter_meta->counter == max_counter_val) … … 188 180 } 189 181 190 error: 191 return rc; 182 return EOK; 192 183 } 193 184
Note:
See TracChangeset
for help on using the changeset viewer.