2011-08-03 Robert Millan <rmh@gnu.org>

* include/grub/zfs/zap_leaf.h (typedef union zap_leaf_chunk): Mark
        la_array as packed.
        Reported by: Zachary Bedell
This commit is contained in:
Robert Millan 2011-08-03 13:30:46 +02:00
parent 20168fcafe
commit 66816d8556
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2011-08-03 Robert Millan <rmh@gnu.org>
* include/grub/zfs/zap_leaf.h (typedef union zap_leaf_chunk): Mark
la_array as packed.
Reported by: Zachary Bedell
2011-07-26 Colin Watson <cjwatson@ubuntu.com> 2011-07-26 Colin Watson <cjwatson@ubuntu.com>
* configure.ac: The Loongson port requires grub-mkfont due to its * configure.ac: The Loongson port requires grub-mkfont due to its

View file

@ -90,7 +90,7 @@ typedef union zap_leaf_chunk {
{ {
grub_uint8_t la_array[ZAP_LEAF_ARRAY_BYTES]; grub_uint8_t la_array[ZAP_LEAF_ARRAY_BYTES];
grub_uint64_t la_array64; grub_uint64_t la_array64;
}; } __attribute__ ((packed));
grub_uint16_t la_next; /* next blk or CHAIN_END */ grub_uint16_t la_next; /* next blk or CHAIN_END */
} l_array; } l_array;
struct zap_leaf_free { struct zap_leaf_free {