Browse Source

afs: Need linux/random.h

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

Signed-off-by: David Howells <dhowells@redhat.com>
David Howells 9 năm trước cách đây
mục cha
commit
e0661dfc59
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      fs/afs/main.c

+ 1 - 0
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");