[PATCH] headers_check: reduce user-visible noise in <linux/nfs_fs.h>
authorDavid Woodhouse <dwmw2@infradead.org>
Wed, 13 Sep 2006 03:36:02 +0000 (20:36 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 13 Sep 2006 14:32:15 +0000 (07:32 -0700)
commit7f1cbe51ffc1273bcded36742ede4b6ebef1b640
treec9b02340f7f0884164026ce1e494d585490b0ad7
parentd5e064a6c733d3902302dbaca33dd3c76af77f38
[PATCH] headers_check: reduce user-visible noise in <linux/nfs_fs.h>

We don't need any of this crap included from the user-visible part of nfs_fs.h
-- remove it all.

In fact, we probably don't need anything but NFS_SUPER_MAGIC to be defined; is
there any need for anything else?  And magic numbers should probably move to
<linux/magic.h> rather than being strewn across various fs-specific include
files which exist in userspace for solely that purpose.

With this patch, 'make header_check' works again at least on PowerPC.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Cc: Trond Myklebust <trond.myklebust@fys.uio.no>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/nfs_fs.h