* Fw: [PATCH] nfsctl: credentials error
@ 2008-10-24 5:55 Stephen Rothwell
2008-10-24 10:04 ` David Howells
0 siblings, 1 reply; 2+ messages in thread
From: Stephen Rothwell @ 2008-10-24 5:55 UTC (permalink / raw)
To: David Howells, James Morris; +Cc: Randy Dunlap, linux-next, LKML, akpm
[Added recipients]
I have added this patch to today's linux-next.
Begin forwarded message:
Date: Thu, 23 Oct 2008 18:17:01 -0700
From: Randy Dunlap <randy.dunlap@oracle.com>
To: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: linux-next@vger.kernel.org, LKML <linux-kernel@vger.kernel.org>, akpm <akpm@linux-foundation.org>
Subject: [PATCH] nfsctl: credentials error
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>
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Fw: [PATCH] nfsctl: credentials error
2008-10-24 5:55 Fw: [PATCH] nfsctl: credentials error Stephen Rothwell
@ 2008-10-24 10:04 ` David Howells
0 siblings, 0 replies; 2+ messages in thread
From: David Howells @ 2008-10-24 10:04 UTC (permalink / raw)
To: Stephen Rothwell
Cc: dhowells, James Morris, Randy Dunlap, linux-next, LKML, akpm
Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> +#include <linux/cred.h>
> +#include <linux/sched.h>
The first inclusion should be superfluous in the face of the second.
David
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-10-24 10:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-24 5:55 Fw: [PATCH] nfsctl: credentials error Stephen Rothwell
2008-10-24 10:04 ` David Howells
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).