mirror of
https://git.proxmox.com/git/grub2
synced 2025-08-07 11:04:48 +00:00
* Mark la_array as packed.
- zfs_packed_la_array.patch
This commit is contained in:
parent
9603ecc7e8
commit
51d3a0f66f
7
debian/changelog
vendored
7
debian/changelog
vendored
@ -1,3 +1,10 @@
|
|||||||
|
grub2 (1.99-10) UNRELEASED; urgency=low
|
||||||
|
|
||||||
|
* Mark la_array as packed.
|
||||||
|
- zfs_packed_la_array.patch
|
||||||
|
|
||||||
|
-- Robert Millan <rmh@debian.org> Wed, 03 Aug 2011 14:18:17 +0200
|
||||||
|
|
||||||
grub2 (1.99-9) unstable; urgency=low
|
grub2 (1.99-9) unstable; urgency=low
|
||||||
|
|
||||||
[ Colin Watson ]
|
[ Colin Watson ]
|
||||||
|
1
debian/patches/series
vendored
1
debian/patches/series
vendored
@ -22,3 +22,4 @@ btrfs_stat.patch
|
|||||||
partition_performance.patch
|
partition_performance.patch
|
||||||
kfreebsd-9_ada_devices.patch
|
kfreebsd-9_ada_devices.patch
|
||||||
gfxterm_background.patch
|
gfxterm_background.patch
|
||||||
|
zfs_packed_la_array.patch
|
||||||
|
17
debian/patches/zfs_packed_la_array.patch
vendored
Normal file
17
debian/patches/zfs_packed_la_array.patch
vendored
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
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
|
||||||
|
|
||||||
|
--- a/include/grub/zfs/zap_leaf.h
|
||||||
|
+++ b/include/grub/zfs/zap_leaf.h
|
||||||
|
@@ -90,7 +90,7 @@
|
||||||
|
{
|
||||||
|
grub_uint8_t la_array[ZAP_LEAF_ARRAY_BYTES];
|
||||||
|
grub_uint64_t la_array64;
|
||||||
|
- };
|
||||||
|
+ } __attribute__ ((packed));
|
||||||
|
grub_uint16_t la_next; /* next blk or CHAIN_END */
|
||||||
|
} l_array;
|
||||||
|
struct zap_leaf_free {
|
Loading…
Reference in New Issue
Block a user