]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libblkid: ddf_raid: drop little-endian handling
authorThomas Weißschuh <thomas@t-8ch.de>
Thu, 27 Feb 2025 17:15:56 +0000 (18:15 +0100)
committerThomas Weißschuh <thomas@t-8ch.de>
Thu, 27 Feb 2025 17:15:56 +0000 (18:15 +0100)
commit3836dc49923e3a121ffcc7c7d8ec6640d1fcf843
tree42f7d5c3de12e342eeccf94ee889194126ca8576
parentbc767e283aa1cbc0bf760c85e10f8846a1ac993f
libblkid: ddf_raid: drop little-endian handling

The DDF specification, both 1.2 and 2.0 require big-endian.
This is also what mdadm expects.

5.2 Byte Ordering

Each section of the DDF MUST be stored in big-endian format
(i.e., the more significant bytes of the section are stored in
lower addresses in relation to bytes of lesser significance).

Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
libblkid/src/superblocks/ddf_raid.c