From a109bb6d0eb936ac4e2a9f0ee46a269a58ec48ce Mon Sep 17 00:00:00 2001 From: root Date: Fri, 16 Nov 2012 11:52:02 +0000 Subject: fish --- master/debian/zfs_packed_la_array.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 master/debian/zfs_packed_la_array.patch (limited to 'master/debian/zfs_packed_la_array.patch') diff --git a/master/debian/zfs_packed_la_array.patch b/master/debian/zfs_packed_la_array.patch new file mode 100644 index 0000000..e31778b --- /dev/null +++ b/master/debian/zfs_packed_la_array.patch @@ -0,0 +1,17 @@ +2011-08-03 Robert Millan + + * 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 { -- cgit v1.2.3