diff options
| author | 2008-11-19 11:46:46 -0800 | |
|---|---|---|
| committer | 2008-11-20 08:11:55 +1100 | |
| commit | 9789cfe22e5d7bc10cad841a4ea96ecedb34b267 (patch) | |
| tree | 57cc6a9fc06eb9b046409954f3aaeb6b773a8db5 | |
| parent | coda: fix creds reference (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>
| -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> |
