Changeset 0437dd5 in mainline


Ignore:
Timestamp:
2025-03-28T23:38:07Z (6 weeks ago)
Author:
Miroslav Cimerman <mc@…>
Children:
7a80c63
Parents:
8b51009
git-author:
Miroslav Cimerman <mc@…> (2025-03-28 23:37:53)
git-committer:
Miroslav Cimerman <mc@…> (2025-03-28 23:38:07)
Message:

hr: util.c: block_fini() hotspares

File:
1 edited

Legend:

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

    r8b51009 r0437dd5  
    250250                }
    251251        }
     252
     253        for (i = 0; i < vol->hotspare_no; i++) {
     254                if (vol->hotspares[i].svc_id != 0) {
     255                        HR_DEBUG("hr_fini_devs(): block_fini() on (%lu)\n",
     256                            vol->hotspares[i].svc_id);
     257                        block_fini(vol->hotspares[i].svc_id);
     258                }
     259        }
    252260}
    253261
Note: See TracChangeset for help on using the changeset viewer.