Changeset e2b417f in mainline
- Timestamp:
 - 2025-01-12T21:53:55Z (10 months ago)
 - Children:
 - 401b9e42
 - Parents:
 - edc89bd8
 - git-author:
 - Miroslav Cimerman <mc@…> (2025-01-12 17:21:40)
 - git-committer:
 - Miroslav Cimerman <mc@…> (2025-01-12 21:53:55)
 - File:
 - 
      
- 1 edited
 
- 
          
  uspace/srv/bd/hr/raid1.c (modified) (3 diffs)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
uspace/srv/bd/hr/raid1.c
redc89bd8 re2b417f 157 157 vol->hotspare_no++; 158 158 159 vol->hotspares[hs_idx].svc_id = hotspare;159 hr_update_hotspare_svc_id(vol, hs_idx, hotspare); 160 160 hr_update_hotspare_status(vol, hs_idx, HR_EXT_HOTSPARE); 161 161 … … 249 249 vol->hotspare_no++; 250 250 251 vol->hotspares[hs_idx].svc_id = di->svc_id;251 hr_update_hotspare_svc_id(vol, hs_idx, di->svc_id); 252 252 hr_update_hotspare_status(vol, hs_idx, HR_EXT_HOTSPARE); 253 253 254 vol->extents[di->index].svc_id = 0;254 hr_update_ext_svc_id(vol, di->index, 0); 255 255 hr_update_ext_status(vol, di->index, HR_EXT_MISSING); 256 256 … … 563 563 } 564 564 565 vol->extents[bad].svc_id = hs_svc_id;565 hr_update_ext_svc_id(vol, bad, hs_svc_id); 566 566 hr_update_ext_status(vol, bad, HR_EXT_HOTSPARE); 567 567 568 vol->hotspares[hs].svc_id = 0;568 hr_update_hotspare_svc_id(vol, hs, 0); 569 569 hr_update_hotspare_status(vol, hs, HR_EXT_INVALID); 570 570  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  