소스 검색

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 년 전
부모
커밋
e0661dfc59
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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");