2012-10-23 19:40:13 +02:00
|
|
|
---
|
|
|
|
lib/device/device.c | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
2014-09-25 10:31:10 +02:00
|
|
|
--- LVM2.2.02.98.orig/lib/device/dev-type.c
|
|
|
|
+++ LVM2.2.02.98/lib/device/dev-type.c
|
2012-10-23 19:40:13 +02:00
|
|
|
@@ -39,7 +39,7 @@ struct partition {
|
2012-10-18 10:15:42 +02:00
|
|
|
uint8_t end_cyl;
|
|
|
|
uint32_t start_sect;
|
|
|
|
uint32_t nr_sects;
|
|
|
|
-} __attribute__((packed));
|
|
|
|
+} __attribute__((packed,may_alias));
|
|
|
|
|
2014-09-25 10:31:10 +02:00
|
|
|
static int _is_partitionable(struct dev_types *dt, struct device *dev)
|
2012-10-18 10:15:42 +02:00
|
|
|
{
|