[PATCH] nfsctl: credentials error

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Randy Dunlap
Date: Thursday, October 23, 2008 - 6:17 pm

From: Randy Dunlap <randy.dunlap@oracle.com>

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>
---
 fs/nfsctl.c |    2 ++
 1 file changed, 2 insertions(+)

--- linux-next-20081023.orig/fs/nfsctl.c
+++ linux-next-20081023/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>
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
linux-next: Tree for October 23, Stephen Rothwell, (Thu Oct 23, 3:36 am)
linux-next: kernel/trace/trace.c:658: error:, Alexey Dobriyan, (Thu Oct 23, 5:11 am)
linux-next: undefined reference to 'forbid_dac', Alexey Dobriyan, (Thu Oct 23, 5:26 am)
Re: linux-next: kernel/trace/trace.c:658: error:, Frédéric Weisbecker, (Thu Oct 23, 5:48 am)
linux-next: undefined reference to `nop_trace', Alexey Dobriyan, (Thu Oct 23, 5:57 am)
Re: linux-next: kernel/trace/trace.c:658: error:, Frédéric Weisbecker, (Thu Oct 23, 6:15 am)
Re: linux-next: undefined reference to 'forbid_dac', FUJITA Tomonori, (Thu Oct 23, 6:16 am)
linux-next: x86_64 UML broken, Alexey Dobriyan, (Thu Oct 23, 7:14 am)
Re: linux-next: kernel/trace/trace.c:658: error:, Geert Uytterhoeven, (Thu Oct 23, 7:37 am)
Re: linux-next: include/linux/mmzone.h:288: error: 'CONFIG ..., Geert Uytterhoeven, (Thu Oct 23, 7:38 am)
Re: linux-next: kernel/trace/trace.c:658: error:, Frederic Weisbecker, (Thu Oct 23, 7:41 am)
Re: linux-next: kernel/trace/trace.c:658: error:, Frédéric Weisbecker, (Thu Oct 23, 7:57 am)
Re: linux-next: kernel/trace/trace.c:658: error:, Geert Uytterhoeven, (Thu Oct 23, 8:30 am)
Re: linux-next: kernel/trace/trace.c:658: error:, Frédéric Weisbecker, (Thu Oct 23, 8:33 am)
Re: [PATCH] tracing: fix a build error on alpha and m68k, Frédéric Weisbecker, (Thu Oct 23, 9:24 am)
Re: [PATCH] tracing: fix a build error on alpha and m68k, Alexey Dobriyan, (Thu Oct 23, 9:34 am)
Re: [PATCH] tracing: fix a build error on alpha and m68k, Frédéric Weisbecker, (Thu Oct 23, 9:35 am)
Re: [PATCH] tracing: fix a build error on alpha and m68k, Frédéric Weisbecker, (Thu Oct 23, 9:51 am)
Re: [PATCH] tracing: fix a build error on alpha and m68k, Frédéric Weisbecker, (Thu Oct 23, 10:06 am)
Re: [PATCH] tracing: fix a build error on alpha and m68k, Steven Rostedt, (Thu Oct 23, 10:12 am)
Re: [PATCH] tracing: fix a build error on alpha and m68k, Steven Rostedt, (Thu Oct 23, 10:14 am)
Re: [PATCH] tracing: fix a build error on alpha and m68k, Frédéric Weisbecker, (Thu Oct 23, 10:25 am)
[PATCH] tracing: fix a build error on alpha and m68k, Frederic Weisbecker, (Thu Oct 23, 10:27 am)
Re: linux-next: Tree for October 23 (cx88), Randy Dunlap, (Thu Oct 23, 5:18 pm)
Re: linux-next: Tree for October 23, Randy Dunlap, (Thu Oct 23, 6:04 pm)
[PATCH] PCI hotplug printk format, Randy Dunlap, (Thu Oct 23, 6:14 pm)
[PATCH] nfsctl: credentials error, Randy Dunlap, (Thu Oct 23, 6:17 pm)
[PATCH] coda: credentials error, Randy Dunlap, (Thu Oct 23, 6:17 pm)
Re: [PATCH] ftrace: handle archs that do not support irqs_ ..., Frédéric Weisbecker, (Fri Oct 24, 6:54 am)
Re: [PATCH] tracing: fix a build error on alpha and m68k, Frederic Weisbecker, (Fri Oct 24, 7:16 am)
Re: [PATCH] PCI hotplug printk format, Jesse Barnes, (Fri Oct 24, 10:42 am)
Re: [PATCH] PCI hotplug printk format, Jesse Barnes, (Fri Oct 24, 10:49 am)
Re: [PATCH] ftrace: handle archs that do not support irqs_ ..., Geert Uytterhoeven, (Sat Oct 25, 1:24 am)
Re: [ofa-general] Re: linux-next: Tree for October 23, Or Gerlitz, (Sun Oct 26, 12:19 am)
Re: [ofa-general] Re: linux-next: Tree for October 23, Randy Dunlap, (Sun Oct 26, 11:49 am)
Re: [PATCH] tracing: fix a build error on alpha and m68k, Alexey Dobriyan, (Thu Oct 30, 2:49 pm)
Re: [PATCH] tracing: fix a build error on alpha and m68k, Frédéric Weisbecker, (Thu Oct 30, 3:57 pm)
Re: [PATCH] tracing: fix a build error on alpha and m68k, Geert Uytterhoeven, (Fri Oct 31, 1:50 am)
Re: [PATCH] tracing: fix a build error on alpha and m68k, Geert Uytterhoeven, (Sat Nov 1, 3:16 am)