There is now a general function for generating a UUID and AFS should make use of it. It's also been recommended to me that I switch to using random rather than time plus MAC address-based UUIDs which this function does.
The patches can be found here also: http://git.kernel.org/cgit/linux/kernel/git/dhowells/linux-fs.git/log/?h=rxrpc-rewrite Tagged thusly: git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git rxrpc-rewrite-20170210 David --- Arnd Bergmann (1): afs: Use core kernel UUID generation David Howells (1): afs: Move UUID struct to linux/uuid.h fs/afs/cmservice.c | 28 ++++++++++++++-------------- fs/afs/internal.h | 38 +++++++------------------------------- fs/afs/main.c | 49 ++----------------------------------------------- fs/afs/netdevices.c | 21 --------------------- include/linux/uuid.h | 24 ++++++++++++++++++++++++ 5 files changed, 47 insertions(+), 113 deletions(-)