Changeset 68c966e in mainline for uspace/srv/bd/hr/superblock.h


Ignore:
Timestamp:
2024-10-11T17:37:03Z (7 months ago)
Author:
Miroslav Cimerman <mc@…>
Children:
abc2c4b
Parents:
4b759dc
Message:

hr: use HR_DEVNAME_LEN and HR_UUID_LEN defines

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/bd/hr/superblock.h

    r4b759dc r68c966e  
    4444
    4545#define HR_MAGIC 0x4420492041205248LLU
     46#define HR_UUID_LEN 16
    4647
    4748typedef struct hr_metadata {
     
    5556        uint32_t strip_size;
    5657        uint32_t status;        /* yet unused */
    57         uint8_t uuid[16];
    58         char devname[32];
     58        uint8_t uuid[HR_UUID_LEN];
     59        char devname[HR_DEVNAME_LEN];
    5960} hr_metadata_t;
    6061
Note: See TracChangeset for help on using the changeset viewer.