Changeset e47a032 in mainline for uspace/srv/bd/hr/hr.c
- Timestamp:
- 2024-10-28T20:02:39Z (7 months ago)
- Children:
- 9fc1d36d
- Parents:
- 066fed9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/bd/hr/hr.c
r066fed9 re47a032 134 134 } 135 135 136 /* 137 * If there was a missing device provided 138 * for creation of a new array, abort 139 */ 140 if (!assemble) { 141 for (i = 0; i < cfg->dev_no; i++) { 142 if (cfg->devs[i] == 0) { 143 free(cfg); 144 async_answer_0(icall, EINVAL); 145 return; 146 } 147 } 148 } 149 136 150 new_volume = calloc(1, sizeof(hr_volume_t)); 137 151 if (new_volume == NULL) { … … 302 316 info.strip_size = volume->strip_size; 303 317 info.bsize = volume->bsize; 318 info.status = volume->status; 304 319 305 320 if (!async_data_read_receive(&call, &size)) {
Note:
See TracChangeset
for help on using the changeset viewer.