Subject: Fw: [PATCH] nfsctl: credentials error

From: Stephen Rothwell <[email-masked]>
Date: Fri, 24 Oct 2008 16:55:24 +1100

[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 <[email-masked]>
To: Stephen Rothwell <[email-masked]>
Cc: [email-masked], LKML <[email-masked]>, akpm <[email-masked]>
Subject: [PATCH] nfsctl: credentials error

From: Randy Dunlap <[email-masked]>

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 <[email-masked]>
---
 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                    [email-masked]
http://www.canb.auug.org.au/~sfr/