]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libblkid: bcache: pack superblock struct
authorThomas Weißschuh <thomas@t-8ch.de>
Fri, 25 Nov 2022 13:51:14 +0000 (14:51 +0100)
committerThomas Weißschuh <thomas@t-8ch.de>
Fri, 25 Nov 2022 13:51:14 +0000 (14:51 +0100)
libblkid/src/superblocks/bcache.c

index 9f4da5e5d7f31022340fa5568170a7bc76aae398..c0626082c7c5c779a77355d6379a97f750efabdb 100644 (file)
@@ -26,7 +26,7 @@ struct bcache_super_block {
        uint64_t                version;
        uint8_t                 magic[16];      /* bcache file system identifier */
        uint8_t                 uuid[16];       /* device identifier */
-};
+} __attribute__((packed));
 
 /* magic string */
 #define BCACHE_SB_MAGIC     "\xc6\x85\x73\xf6\x4e\x1a\x45\xca\x82\x65\xf5\x7f\x48\xba\x6d\x81"