afs: Move UUID struct to linux/uuid.h
authorDavid Howells <dhowells@redhat.com>
Fri, 10 Feb 2017 16:34:07 +0000 (16:34 +0000)
committerDavid Howells <dhowells@redhat.com>
Fri, 10 Feb 2017 16:34:17 +0000 (16:34 +0000)
commitff548773106ec7f8031bc6172e0234bd2a02c19c
tree1bae4bf8247b6e556f03d4a13274666eb1ea620b
parenta507c346b7fdc97296fa74626df49fdb7296a04e
afs: Move UUID struct to linux/uuid.h

Move the afs_uuid struct to linux/uuid.h, rename it to uuid_v1 and change
the u16/u32 fields to __be16/__be32 instead so that the structure can be
cast to a 16-octet network-order buffer.

Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de
fs/afs/cmservice.c
fs/afs/internal.h
fs/afs/main.c
include/linux/uuid.h