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 35de0c04729fdbe357b10ddab7f870f3b560d8cc..0b187ef3b5b7a2909b6e07c2dd4cd57d9569789b 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");