f1a960eb91
- lvm2.spec: merge rules for device-mapper and lvm2-clvm packages, so there is only one spec file and all packages are built consistently. OBS-URL: https://build.opensuse.org/request/show/138672 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lvm2?expand=0&rev=47
16 lines
383 B
Diff
16 lines
383 B
Diff
---
|
|
lib/device/device.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- LVM2.2.02.98.orig/lib/device/device.c
|
|
+++ LVM2.2.02.98/lib/device/device.c
|
|
@@ -39,7 +39,7 @@ struct partition {
|
|
uint8_t end_cyl;
|
|
uint32_t start_sect;
|
|
uint32_t nr_sects;
|
|
-} __attribute__((packed));
|
|
+} __attribute__((packed,may_alias));
|
|
|
|
static int _is_partitionable(struct device *dev)
|
|
{
|