]> err.no Git - util-linux/commit
libblkid: add missing packed attributes
authorKarel Zak <kzak@redhat.com>
Fri, 16 Oct 2009 00:34:28 +0000 (02:34 +0200)
committerKarel Zak <kzak@redhat.com>
Fri, 16 Oct 2009 00:34:28 +0000 (02:34 +0200)
commit11854e2eff8b15411bbbc35c95dc77d6a722cc6b
tree723a35834ce281bbea4c867088dc774467368867
parent45bda5c8dda9273d7ce0479a1931bfd9766717f7
libblkid: add missing packed attributes

This patch add __attribute__((packed)) to almost all superblock and
disk label definitions. Well, in many cases this is not necessary, but
it's a cheap way how to keep the code robust...

Signed-off-by: Karel Zak <kzak@redhat.com>
26 files changed:
shlibs/blkid/src/partitions/bsd.c
shlibs/blkid/src/partitions/mac.c
shlibs/blkid/src/partitions/sgi.c
shlibs/blkid/src/partitions/solaris_x86.c
shlibs/blkid/src/partitions/unixware.c
shlibs/blkid/src/superblocks/adaptec_raid.c
shlibs/blkid/src/superblocks/cramfs.c
shlibs/blkid/src/superblocks/ext.c
shlibs/blkid/src/superblocks/gfs.c
shlibs/blkid/src/superblocks/hpfs.c
shlibs/blkid/src/superblocks/iso9660.c
shlibs/blkid/src/superblocks/luks.c
shlibs/blkid/src/superblocks/ntfs.c
shlibs/blkid/src/superblocks/nvidia_raid.c
shlibs/blkid/src/superblocks/reiserfs.c
shlibs/blkid/src/superblocks/romfs.c
shlibs/blkid/src/superblocks/silicon_raid.c
shlibs/blkid/src/superblocks/squashfs.c
shlibs/blkid/src/superblocks/swap.c
shlibs/blkid/src/superblocks/sysv.c
shlibs/blkid/src/superblocks/ubifs.c [changed mode: 0755->0644]
shlibs/blkid/src/superblocks/udf.c
shlibs/blkid/src/superblocks/vfat.c
shlibs/blkid/src/superblocks/via_raid.c
shlibs/blkid/src/superblocks/xfs.c
shlibs/blkid/src/superblocks/zfs.c