]> git.ipfire.org Git - thirdparty/grub.git/commit
gpt_partition: Mark grub_gpt_partentry as having natural alignment
authorVladimir Serbinenko <phcoder@gmail.com>
Tue, 31 Oct 2023 17:24:09 +0000 (18:24 +0100)
committerVladimir Serbinenko <phcoder@gmail.com>
Mon, 6 Nov 2023 21:48:24 +0000 (22:48 +0100)
commit5fc985bfdda8b04c65e3768a55412f8208bb6504
tree34800fc60e66a9722e68c1075839b16ac52b9c8a
parent7ad30299da5f3ad7d74db45da0632cec419007ba
gpt_partition: Mark grub_gpt_partentry as having natural alignment

gpt_partition contains grub_guid. We need to decide whether the whole
structure is unaligned and then we need to use packed_guid. But we never
have unaligned part entries as we read them in an aligned buffer from disk.
Hence just make it all aligned.

Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com>
include/grub/gpt_partition.h