]> git.baikalelectronics.ru Git - kernel.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)
commit0dde7f288329572eee171135127bb020f5de9cd0
tree6e3ad26d303f047fa4f7358144da4d30d16b6de3
parent49c17db395f90900cd2ed628cca4eaf1e62979b9
uuid,afs: move struct uuid_v1 back into afs

This essentially is a partial revert of commit ab239a13
("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