Changeset 18c3658 in mainline
- Timestamp:
- 2025-04-21T12:26:28Z (4 weeks ago)
- Children:
- 80c760e
- Parents:
- f09b75b
- Location:
- uspace/srv/bd/hr
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/bd/hr/raid0.c
rf09b75b r18c3658 93 93 94 94 hr_raid0_update_vol_status(new_volume); 95 if (new_volume->status != HR_VOL_ONLINE) 95 if (new_volume->status != HR_VOL_ONLINE) { 96 HR_NOTE("\"%s\": unusable state, not creating\n", 97 new_volume->devname); 96 98 return EINVAL; 99 } 97 100 98 101 bd_srvs_init(&new_volume->hr_bds); -
uspace/srv/bd/hr/raid1.c
rf09b75b r18c3658 115 115 hr_vol_status_t state = new_volume->status; 116 116 fibril_rwlock_read_unlock(&new_volume->states_lock); 117 if (state == HR_VOL_FAULTY || state == HR_VOL_NONE) 117 if (state == HR_VOL_FAULTY || state == HR_VOL_NONE) { 118 HR_NOTE("\"%s\": unusable state, not creating\n", 119 new_volume->devname); 118 120 return EINVAL; 121 } 119 122 120 123 return EOK; -
uspace/srv/bd/hr/raid5.c
rf09b75b r18c3658 107 107 errno_t rc = hr_raid5_update_vol_status(new_volume); 108 108 if (rc != EOK) { 109 HR_NOTE("\"%s\": unusable state, not creating\n", 110 new_volume->devname); 109 111 fibril_rwlock_write_unlock(&new_volume->states_lock); 110 112 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.