diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2008-11-19 11:46:46 -0800 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2008-11-20 08:11:55 +1100 |
commit | 9789cfe22e5d7bc10cad841a4ea96ecedb34b267 (patch) | |
tree | 57cc6a9fc06eb9b046409954f3aaeb6b773a8db5 /fs | |
parent | 7596b27dbd8de7bcfa7a80b2756114b49bd5c018 (diff) | |
download | lwn-9789cfe22e5d7bc10cad841a4ea96ecedb34b267.tar.gz lwn-9789cfe22e5d7bc10cad841a4ea96ecedb34b267.zip |
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')
-rw-r--r-- | fs/nfsctl.c | 2 |
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> |