Re: [fengguang.wu@intel.com: [pnfs:xfs-nfsd-clone] 57b7d25bf4c57ebe0fbd2d8c5b37edf503175e1f BUILD DONE]

Christoph Hellwig
2016-02-22T09:05:14Z

On Thu, Feb 18, 2016 at 03:06:14PM +0100, Geert Uytterhoeven wrote:
> Marking it __packed causes the compiler to assume that the other 32-bit
> values may not be aligned.
>
> You can add 2 padding bytes to struct xfs_attr_leaf_name_remote.
> Or change name[1] to name[3].

All not really exciting. Given that we never do a sizeof it might
make sense to simply not check the size of this structure as a band aid.