Changeset 44da6c8 in mainline


Ignore:
Timestamp:
2025-04-01T08:54:01Z (2 months ago)
Author:
Miroslav Cimerman <mc@…>
Children:
c7e6a3e
Parents:
4200735
Message:

hr: util.c: initialize empty extents to MISSING

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/bd/hr/util.c

    r4200735 r44da6c8  
    818818        }
    819819
     820        for (size_t i = 0; i < vol->extent_no; i++) {
     821                if (vol->extents[i].status == HR_EXT_NONE)
     822                        vol->extents[i].status = HR_EXT_MISSING;
     823        }
     824
    820825        rc = vol->hr_ops.create(vol);
    821826        if (rc != EOK)
Note: See TracChangeset for help on using the changeset viewer.