]> asedeno.scripts.mit.edu Git - linux.git/commit
xfs: remove __arch_pack
authorChristoph Hellwig <hch@lst.de>
Wed, 20 Jul 2016 01:48:46 +0000 (11:48 +1000)
committerDave Chinner <david@fromorbit.com>
Wed, 20 Jul 2016 01:48:46 +0000 (11:48 +1000)
commitaa2dd0ad4d6d7dd85bb13ed64b872803be046f96
tree18f0ee6ce0117ed398da2f126d5fee759097d519
parent266b6969c3dfd3c81d8601754c8b0e25bb52615b
xfs: remove __arch_pack

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>
fs/xfs/libxfs/xfs_da_format.h
fs/xfs/xfs_linux.h