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

From: David Howells
Date: Tue Aug 30 2016 - 11:42:28 EST


We should #include linux/random.h to use get_random().

Signed-off-by: David Howells <dhowells@xxxxxxxxxx>
---

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