[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20081024165524.1a1ff01c.sfr@canb.auug.org.au>
Date: Fri, 24 Oct 2008 16:55:24 +1100
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: David Howells <dhowells@...hat.com>,
James Morris <jmorris@...ei.org>
Cc: Randy Dunlap <randy.dunlap@...cle.com>, linux-next@...r.kernel.org,
LKML <linux-kernel@...r.kernel.org>,
akpm <akpm@...ux-foundation.org>
Subject: Fw: [PATCH] nfsctl: credentials error
[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@...cle.com>
To: Stephen Rothwell <sfr@...b.auug.org.au>
Cc: linux-next@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>, akpm <akpm@...ux-foundation.org>
Subject: [PATCH] nfsctl: credentials error
From: Randy Dunlap <randy.dunlap@...cle.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@...cle.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@...b.auug.org.au
http://www.canb.auug.org.au/~sfr/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists