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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
--
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Video for Linux]     [Yosemite News]     [Linux S/390]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux