Commit 9789cfe22e5d7bc10cad841a4ea96ecedb34b267

Authored by Randy Dunlap
Committed by James Morris
1 parent 7596b27dbd

nfsctl: add headers for credentials

Needs headers help for current_cred:

Adding only cred.h wasn't enough.

linux-next-20081023/fs/nfsctl.c:45: error: implicit declaration of function 'current_cred'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: David Howells <dhowells@redhat.com>
Cc: James Morris <jmorris@namei.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: James Morris <jmorris@namei.org>

Showing 1 changed file with 2 additions and 0 deletions Side-by-side Diff

... ... @@ -10,6 +10,8 @@
10 10 #include <linux/sunrpc/svc.h>
11 11 #include <linux/nfsd/nfsd.h>
12 12 #include <linux/nfsd/syscall.h>
  13 +#include <linux/cred.h>
  14 +#include <linux/sched.h>
13 15 #include <linux/linkage.h>
14 16 #include <linux/namei.h>
15 17 #include <linux/mount.h>