diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-05-12 10:16:36 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-05-12 10:16:36 +0900 |
commit | 6001df659464506990d98efe109288b78438d3e7 (patch) | |
tree | c2103b78ce813f6d9dbb480a9a1a645be8a606f1 /src/shared/gpt.h | |
parent | f4767dc081a66ed50079e7e0a8829522cc57c8c6 (diff) | |
download | systemd-6001df659464506990d98efe109288b78438d3e7.tar.gz |
gpt: introduce GPT_LAVEL_MAX
Diffstat (limited to 'src/shared/gpt.h')
-rw-r--r-- | src/shared/gpt.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shared/gpt.h b/src/shared/gpt.h index 6581973793..c92d9c0974 100644 --- a/src/shared/gpt.h +++ b/src/shared/gpt.h @@ -115,6 +115,9 @@ #define GPT_FLAG_NO_AUTO (1ULL << 63) #define GPT_FLAG_GROWFS (1ULL << 59) +/* maximum length of gpt label */ +#define GPT_LABEL_MAX 36 + const char *gpt_partition_type_uuid_to_string(sd_id128_t id); const char *gpt_partition_type_uuid_to_string_harder( sd_id128_t id, |