On Thu, May 04, 2017 at 03:16:10PM +0100, David Howells wrote: > Leave struct uuid_v1 as is please. The AFS protocol XDR encodes the fields as > delineated in the struct: No. Use direct decoding of the fields (maybe using helpers) for the two places in the whole kernel (afs and xfs) that care about they layout, instead of needing a secondary structure and the related infrastructure. The uuid_be (really should be uuid_t) and uuid_le (really should be guid_t) is bad enough.