[PATCH] Fix linux/nfsd/const.h for make headers_check
authorCedric Le Goater <clg@fr.ibm.com>
Wed, 4 Oct 2006 09:16:21 +0000 (02:16 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 4 Oct 2006 14:55:24 +0000 (07:55 -0700)
commitf7aa2638f288f4c67acdb55947472740bd27d27a
tree3710565111a49ac65a190268dd7c0eaab301b478
parent42ca09938157105c1f573c831a35e9c3e02eb354
[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>
include/linux/nfsd/const.h