]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
uuid,afs: move struct uuid_v1 back into afs
authorChristoph Hellwig <hch@lst.de>
Sun, 28 May 2017 05:56:46 +0000 (08:56 +0300)
committerChristoph Hellwig <hch@lst.de>
Mon, 5 Jun 2017 14:56:34 +0000 (16:56 +0200)
commit41bb26f8db3ad33b083e57eb9fc5828796110e77
tree6e3ad26d303f047fa4f7358144da4d30d16b6de3
parent3c2993b8c6143d8a5793746a54eba8f86f95240f
uuid,afs: move struct uuid_v1 back into afs

This essentially is a partial revert of commit ff548773
("afs: Move UUID struct to linux/uuid.h") and moves struct uuid_v1 back into
fs/afs as struct afs_uuid.  It however keeps it as big endian structure
so that we can use the normal uuid generation helpers when casting to/from
struct afs_uuid.

The V1 uuid intrepretation in struct form isn't really useful to the
rest of the kernel, and not really compatible to it either, so move it
back to AFS instead of polluting the global uuid.h.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: David Howells <dhowells@redhat.com>
fs/afs/cmservice.c
fs/afs/internal.h
fs/afs/main.c
include/linux/uuid.h