xfs: fix attr shortform structure alignment on cris
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 3 Aug 2016 00:59:42 +0000 (10:59 +1000)
committerDave Chinner <david@fromorbit.com>
Wed, 3 Aug 2016 00:59:42 +0000 (10:59 +1000)
commit3dadf901ddc0a1275b622b1a170557bd0d136862
tree955cef453c7414ac5aace301f174afbc1fc2bb6d
parent0facef7fb053be4353c0a48c2f48c9dbee91cb19
xfs: fix attr shortform structure alignment on cris

Apparently cris doesn't require structure stride to align with the
largest type in the struct, so list[0] isn't at offset 4 like it is
everywhere else.  Fix this... insofar as existing XFSes on cris are
screwed.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/libxfs/xfs_da_format.h