Changeset 8a65373 in mainline for uspace/srv/bd/hr/util.c


Ignore:
Timestamp:
2025-03-29T11:50:54Z (10 months ago)
Author:
Miroslav Cimerman <mc@…>
Children:
56214383
Parents:
7a80c63
Message:

hr: move registering out of specific RAIDs

File:
1 edited

Legend:

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

    r7a80c63 r8a65373  
    835835         * XXX: register it here
    836836         * ... if it fails on EEXIST try different name... like + 1 on the end
     837         *
     838         * TODO: discuss
    837839         */
     840        rc = hr_register_volume(vol);
     841        if (rc != EOK) {
     842                fibril_rwlock_write_unlock(&hr_volumes_lock);
     843                goto error;
     844        }
    838845
    839846        list_append(&vol->lvolumes, &hr_volumes);
Note: See TracChangeset for help on using the changeset viewer.