summaryrefslogtreecommitdiff
path: root/cookie.h
diff options
context:
space:
mode:
Diffstat (limited to 'cookie.h')
0 files changed, 0 insertions, 0 deletions
>b4db2b35fc444409daf483006111a2a705550fff (patch) tree3c7b9f49aadd58cbc3b53414a964bf5a27101a9c parentff548773106ec7f8031bc6172e0234bd2a02c19c (diff)
afs: Use core kernel UUID generation
AFS uses a time based UUID to identify the host itself. This requires getting a timestamp which is currently done through the getnstimeofday() interface that we want to eventually get rid of. Instead of replacing it with a ktime-based interface, simply remove the entire function and use generate_random_uuid() instead, which has a v4 ("completely random") UUID instead of the time-based one. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat
-rw-r--r--fs/afs/internal.h11
-rw-r--r--fs/afs/main.c48
-rw-r--r--fs/afs/netdevices.c21
3 files changed, 6 insertions, 74 deletions
diff --git a/fs/afs/internal.h b/fs/afs/internal.h