diff mbox

[net-next,5/8] afs: Need linux/random.h

Message ID 147257173214.6391.7174435935301987881.stgit@warthog.procyon.org.uk
State Accepted, archived
Delegated to: David Miller
Headers show

Commit Message

David Howells Aug. 30, 2016, 3:42 p.m. UTC
We should #include linux/random.h to use get_random().

Signed-off-by: David Howells <dhowells@redhat.com>
---

 fs/afs/main.c |    1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

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");