summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorCedric Le Goater <clg@fr.ibm.com>2006-10-04 11:16:21 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-04 16:55:24 +0200
commitf7aa2638f288f4c67acdb55947472740bd27d27a (patch)
tree3710565111a49ac65a190268dd7c0eaab301b478 /include
parent[PATCH] knfsd: nfsd4: actually use all the pieces to implement referrals (diff)
downloadlinux-f7aa2638f288f4c67acdb55947472740bd27d27a.tar.xz
linux-f7aa2638f288f4c67acdb55947472740bd27d27a.zip
[PATCH] Fix linux/nfsd/const.h for make headers_check
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. Signed-off-by: Cedric Le Goater <clg@fr.ibm.com> Cc: David Woodhouse <dwmw2@infradead.org> Cc: Neil Brown <neilb@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/nfsd/const.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/nfsd/const.h b/include/linux/nfsd/const.h
index f478066f9cd5..f0cc77790527 100644
--- a/include/linux/nfsd/const.h
+++ b/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