]> Git Repo - linux.git/commitdiff
nfsctl: add headers for credentials
authorRandy Dunlap <[email protected]>
Wed, 19 Nov 2008 19:46:46 +0000 (11:46 -0800)
committerJames Morris <[email protected]>
Wed, 19 Nov 2008 21:11:55 +0000 (08:11 +1100)
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]>
fs/nfsctl.c

index cc4ef2642a514cd069ab372c4c1378729ff413c2..b1acbd6ab6fb07c857b910f518a53736d8bd3631 100644 (file)
@@ -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>
This page took 0.052739 seconds and 4 git commands to generate.