afs: Need linux/random.h
authorDavid Howells <dhowells@redhat.com>
Tue, 30 Aug 2016 15:05:14 +0000 (16:05 +0100)
committerDavid Howells <dhowells@redhat.com>
Tue, 30 Aug 2016 15:07:53 +0000 (16:07 +0100)
We should #include linux/random.h to use get_random().

Signed-off-by: David Howells <dhowells@redhat.com>
fs/afs/main.c

index 35de0c0..0b187ef 100644 (file)
@@ -14,6 +14,7 @@
 #include <linux/init.h>
 #include <linux/completion.h>
 #include <linux/sched.h>
+#include <linux/random.h>
 #include "internal.h"
 
 MODULE_DESCRIPTION("AFS Client File System");