summaryrefslogtreecommitdiffstats
path: root/fs/nfsctl.c
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2008-11-19 11:46:46 -0800
committerJames Morris <jmorris@namei.org>2008-11-20 08:11:55 +1100
commit9789cfe22e5d7bc10cad841a4ea96ecedb34b267 (patch)
tree57cc6a9fc06eb9b046409954f3aaeb6b773a8db5 /fs/nfsctl.c
parent7596b27dbd8de7bcfa7a80b2756114b49bd5c018 (diff)
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>
Diffstat (limited to 'fs/nfsctl.c')
-rw-r--r--fs/nfsctl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/nfsctl.c b/fs/nfsctl.c
index cc4ef2642a5..b1acbd6ab6f 100644
--- a/fs/nfsctl.c
+++ b/fs/nfsctl.c
@@ -10,6 +10,8 @@
#include <linux/sunrpc/svc.h>
#include <linux/nfsd/nfsd.h>
#include <linux/nfsd/syscall.h>
+#include <linux/cred.h>
+#include <linux/sched.h>
#include <linux/linkage.h>
#include <linux/namei.h>
#include <linux/mount.h>