public inbox for linux-next@vger.kernel.org 
 help / color / mirror / Atom feed
From: Randy Dunlap <randy.dunlap@oracle•com>
To: Stephen Rothwell <sfr@canb•auug.org.au>,
	dhowells@redhat•com, akpm <akpm@linux-foundation•org>
Cc: linux-next@vger•kernel.org, LKML <linux-kernel@vger•kernel.org>
Subject: [PATCH -next resend] nfsctl: add headers for credentials
Date: Wed, 19 Nov 2008 11:33:52 -0800	[thread overview]
Message-ID: <20081119113352.a92b5640.randy.dunlap@oracle.com> (raw)
In-Reply-To: <20081119175917.7d21cf77.sfr@canb.auug.org.au>

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-20081119.orig/fs/nfsctl.c
+++ linux-next-20081119/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>

  parent reply	other threads:[~2008-11-19 19:35 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-19  6:59 linux-next: Tree for November 19 Stephen Rothwell
2008-11-19 18:48 ` linux-next: Tree for November 19 (staging/go7007/) Randy Dunlap
2008-11-19 19:08   ` Greg KH
2008-11-19 18:51 ` linux-next: Tree for November 19 (v4l2 warnings) Randy Dunlap
2008-11-20  0:02   ` Stephen Rothwell
2008-11-20 11:11     ` Mauro Carvalho Chehab
2008-11-19 18:53 ` linux-next: Tree for November 19 (mtd build error) Randy Dunlap
2008-11-19 18:58   ` David Woodhouse
2008-11-19 19:06     ` Randy Dunlap
2008-11-19 19:08       ` David Woodhouse
2008-11-19 19:18       ` Ben Hutchings
2008-11-19 19:24         ` David Woodhouse
2008-11-19 19:43           ` Ben Hutchings
2008-11-19 19:45             ` Randy Dunlap
2008-11-19 18:55 ` linux-next: Tree for November 19 (dvb build errors) Randy Dunlap
2008-11-19 18:59 ` linux-next: Tree for November 19 (ipw2100/2200 " Randy Dunlap
2008-11-19 19:15 ` [PATCH] coda: fix creds reference Randy Dunlap
2008-11-19 19:33 ` Randy Dunlap [this message]
2008-11-19 21:17 ` linux-next: Tree for November 19 (section mismatche fpu_init) Richard Holden

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20081119113352.a92b5640.randy.dunlap@oracle.com \
    --to=randy.dunlap@oracle$(echo .)com \
    --cc=akpm@linux-foundation$(echo .)org \
    --cc=dhowells@redhat$(echo .)com \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linux-next@vger$(echo .)kernel.org \
    --cc=sfr@canb$(echo .)auug.org.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox