vfs: Use const for kernel parser table
authorSteven Whitehouse <swhiteho@redhat.com>
Mon, 13 Oct 2008 09:46:57 +0000 (10:46 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 13 Oct 2008 17:10:37 +0000 (10:10 -0700)
commita447c0932445f92ce6f4c1bd020f62c5097a7842
treebacf05bc7f9764515cdd6f7dc5e2254776b4f160
parent54cebc68c81eacac41a21bdfe99dc889d3882c60
vfs: Use const for kernel parser table

This is a much better version of a previous patch to make the parser
tables constant. Rather than changing the typedef, we put the "const" in
all the various places where its required, allowing the __initconst
exception for nfsroot which was the cause of the previous trouble.

This was posted for review some time ago and I believe its been in -mm
since then.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Cc: Alexander Viro <aviro@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
38 files changed:
arch/powerpc/platforms/cell/spufs/inode.c
arch/s390/hypfs/inode.c
drivers/infiniband/ulp/srp/ib_srp.c
drivers/usb/core/inode.c
fs/9p/v9fs.c
fs/adfs/super.c
fs/affs/super.c
fs/afs/super.c
fs/autofs/inode.c
fs/autofs4/inode.c
fs/befs/linuxvfs.c
fs/devpts/inode.c
fs/ecryptfs/main.c
fs/ext2/super.c
fs/ext3/super.c
fs/ext4/super.c
fs/fat/inode.c
fs/fuse/inode.c
fs/gfs2/mount.c
fs/hfs/super.c
fs/hfsplus/options.c
fs/hpfs/super.c
fs/hugetlbfs/inode.c
fs/isofs/inode.c
fs/jfs/super.c
fs/nfs/nfsroot.c
fs/nfs/super.c
fs/ocfs2/super.c
fs/omfs/inode.c
fs/ubifs/super.c
fs/udf/super.c
fs/ufs/super.c
fs/xfs/linux-2.6/xfs_super.c
include/linux/parser.h
lib/parser.c
net/9p/client.c
net/9p/trans_fd.c
security/selinux/hooks.c