Re: [PATCH RESEND] block: store GPT attributes as a raw value
From: Jens Axboe
Date: Thu Sep 10 2026 - 16:56:41 EST
On Tue, 08 Sep 2026 20:58:26 +0200, Vincent Mailhol wrote:
> struct _gpt_entry_attributes currently models the GPT partition entry
> attributes field with bitfields. This is broken on machines using the
> __BIG_ENDIAN_BITFIELD ABI because GPT always stores the attributes on
> disk as a 64-bit little-endian.
>
> No current code consumes individual fields from that structure. So just
> remove struct _gpt_entry_attributes entirely and replace it by an __le64
> value in struct _gpt_entry instead. This lets users apply endian-aware
> masks explicitly when inspecting attribute bits.
>
> [...]
Applied, thanks!
[1/1] block: store GPT attributes as a raw value
commit: 74ea55a6ecb3fd69b47b2b8a6f6979a6c79c7ce7
Best regards,
--
Jens Axboe