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


Ignore:
Timestamp:
2025-03-29T11:50:54Z (9 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/raid1.c

    r7a80c63 r8a65373  
    9191errno_t hr_raid1_create(hr_volume_t *new_volume)
    9292{
    93         errno_t rc;
    94 
    9593        assert(new_volume->level == HR_LVL_1);
    9694
     
    114112                return EINVAL;
    115113
    116         rc = hr_register_volume(new_volume);
    117 
    118         return rc;
     114        return EOK;
    119115}
    120116
Note: See TracChangeset for help on using the changeset viewer.