aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRandy Dunlap <[email protected]>2008-11-19 11:46:46 -0800
committerJames Morris <[email protected]>2008-11-20 08:11:55 +1100
commit9789cfe22e5d7bc10cad841a4ea96ecedb34b267 (patch)
tree57cc6a9fc06eb9b046409954f3aaeb6b773a8db5
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 <[email protected]> Cc: David Howells <[email protected]> Cc: James Morris <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: James Morris <[email protected]>
-rw-r--r--fs/nfsctl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/nfsctl.c b/fs/nfsctl.c
index cc4ef2642a51..b1acbd6ab6fb 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>