• Arnd Bergmann's avatar
    afs: Use core kernel UUID generation · b4db2b35
    Arnd Bergmann authored
    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: default avatarArnd Bergmann <arnd@arndb.de>
    Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
    b4db2b35
netdevices.c 1.04 KB