]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: remove __arch_pack
authorChristoph Hellwig <hch@lst.de>
Wed, 10 Aug 2016 01:29:36 +0000 (11:29 +1000)
committerDave Chinner <david@fromorbit.com>
Wed, 10 Aug 2016 01:29:36 +0000 (11:29 +1000)
commit34f7aca6aae9aac7ba7d8100a54a36607cc0f406
tree26eabbd3cf013cbebe13dc0e9dbb5ad4b14a2bcb
parentd8bf9c63481ef3b49c3dec34a2140b04f9f677ed
xfs: remove __arch_pack

Source kernel commit: aa2dd0ad4d6d7dd85bb13ed64b872803be046f96

Instead we always declare struct xfs_dir2_sf_hdr as packed.  That's
the expected layout, and while most major architectures do the packing
by default the new structure size and offset checker showed that not
only the ARM old ABI got this wrong, but various minor embedded
architectures did as well.

[Verified that no code change on x86-64 results from this change]

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
include/xfs.h
include/xfs_arch.h
libxfs/xfs_da_format.h