Changeset 37a9c1e in mainline for uspace/srv/bd/hr/superblock.c
- Timestamp:
- 2024-12-23T11:06:35Z (10 months ago)
- Children:
- 8137d36
- Parents:
- 6784abc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/bd/hr/superblock.c
r6784abc r37a9c1e 157 157 /* index filled separately for each extent */ 158 158 metadata->level = host2uint32_t_le(vol->level); 159 metadata->layout = host2uint32_t_le(vol-> RLQ);159 metadata->layout = host2uint32_t_le(vol->layout); 160 160 metadata->strip_size = host2uint32_t_le(vol->strip_size); 161 161 metadata->nblocks = host2uint64_t_le(vol->nblocks); … … 237 237 /* TODO: handle version */ 238 238 vol->level = uint32_t_le2host(metadata->level); 239 vol-> RLQ= (uint8_t)uint32_t_le2host(metadata->layout);239 vol->layout = (uint8_t)uint32_t_le2host(metadata->layout); 240 240 vol->strip_size = uint32_t_le2host(metadata->strip_size); 241 241 vol->nblocks = uint64_t_le2host(metadata->nblocks);
Note:
See TracChangeset
for help on using the changeset viewer.