* [PATCH -mm] fix linux/nfsd/const.h for make headers_check
@ 2006-10-03 10:21 Cedric Le Goater
0 siblings, 0 replies; only message in thread
From: Cedric Le Goater @ 2006-10-03 10:21 UTC (permalink / raw)
To: Linux Kernel Mailing List; +Cc: Greg Banks, Neil Brown, Andrew Morton
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-10-03 10:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-03 10:21 [PATCH -mm] fix linux/nfsd/const.h for make headers_check Cedric Le Goater
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.