aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Howells2016-08-30 16:05:14 +0100
committerDavid Howells2016-08-30 16:07:53 +0100
commite0661dfc5961cf14f255fa5466041a961ca2ebdf (patch)
treebc2a2733054729ea51ca7cbf7c6478cf2becf543
parent378c9c9603a48135336f9440995e5a342fbc5afa (diff)
afs: Need linux/random.h
We should #include linux/random.h to use get_random(). Signed-off-by: David Howells <dhowells@redhat.com>
-rw-r--r--fs/afs/main.c1
1 files changed, 1 insertions, 0 deletions
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");