[PATCH net-next 5/8] afs: Need linux/random.h
David Howells
dhowells at redhat.com
Tue Aug 30 08:42:12 PDT 2016
We should #include linux/random.h to use get_random().
Signed-off-by: David Howells <dhowells at redhat.com>
---
fs/afs/main.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fs/afs/main.c b/fs/afs/main.c
index 35de0c04729f..0b187ef3b5b7 100644
--- a/fs/afs/main.c
+++ b/fs/afs/main.c
@@ -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");
More information about the linux-afs
mailing list