All of lore.kernel.org
 help / color / mirror / Atom feed
From: Cedric Le Goater <clg@fr.ibm.com>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Cc: Greg Banks <gnb@melbourne.sgi.com>, Neil Brown <neilb@suse.de>,
	Andrew Morton <akpm@osdl.org>
Subject: [PATCH -mm] fix linux/nfsd/const.h for make headers_check
Date: Tue, 03 Oct 2006 12:21:22 +0200	[thread overview]
Message-ID: <452239A2.5020508@fr.ibm.com> (raw)

make headers_check fails on linux/nfsd/const.h. 

Since linux/sunrpc/msg_prot.h does not seem to export anything
interesting for userspace, this patch moves it in the __KERNEL__ 
protected section.

Cheers,

C.

Signed-off-by: Cedric Le Goater <clg@fr.ibm.com>
---
 include/linux/nfsd/const.h |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Index: 2.6.18-mm3/include/linux/nfsd/const.h
===================================================================
--- 2.6.18-mm3.orig/include/linux/nfsd/const.h
+++ 2.6.18-mm3/include/linux/nfsd/const.h
@@ -13,7 +13,6 @@
 #include <linux/nfs2.h>
 #include <linux/nfs3.h>
 #include <linux/nfs4.h>
-#include <linux/sunrpc/msg_prot.h>

 /*
  * Maximum protocol version supported by knfsd
@@ -29,6 +28,8 @@

 #ifdef __KERNEL__

+#include <linux/sunrpc/msg_prot.h>
+
 #ifndef NFS_SUPER_MAGIC
 # define NFS_SUPER_MAGIC       0x6969
 #endif

                 reply	other threads:[~2006-10-03 10:21 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=452239A2.5020508@fr.ibm.com \
    --to=clg@fr.ibm.com \
    --cc=akpm@osdl.org \
    --cc=gnb@melbourne.sgi.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=neilb@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.