[PATCH] mark f_ops const in the inode
authorArjan van de Ven <arjan@infradead.org>
Tue, 28 Mar 2006 09:56:41 +0000 (01:56 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 28 Mar 2006 17:16:05 +0000 (09:16 -0800)
commit99ac48f54a91d02140c497edc31dc57d4bc5c85d
tree68719391694a6914191bdf73d2071875f7653f6f
parentec1b9466cb4f6ae6d950bd67055d9410d1056d2a
[PATCH] mark f_ops const in the inode

Mark the f_ops members of inodes as const, as well as fix the
ripple-through this causes by places that copy this f_ops and then "do
stuff" with it.

Signed-off-by: Arjan van de Ven <arjan@infradead.org>
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
42 files changed:
arch/powerpc/platforms/cell/spufs/inode.c
arch/ppc/kernel/ppc_htab.c
drivers/char/drm/drm_fops.c
drivers/char/drm/i810_dma.c
drivers/char/drm/i830_dma.c
drivers/char/mem.c
drivers/char/misc.c
drivers/input/input.c
drivers/isdn/capi/kcapi_proc.c
drivers/media/dvb/dvb-core/dvbdev.c
drivers/media/video/videodev.c
drivers/message/i2o/i2o_proc.c
drivers/oprofile/oprofilefs.c
drivers/telephony/phonedev.c
drivers/usb/core/file.c
drivers/usb/gadget/inode.c
fs/char_dev.c
fs/debugfs/inode.c
fs/inode.c
fs/nfsd/vfs.c
fs/proc/generic.c
fs/proc/internal.h
fs/proc/proc_misc.c
fs/select.c
include/linux/cdev.h
include/linux/debugfs.h
include/linux/fs.h
include/linux/input.h
include/linux/miscdevice.h
include/linux/oprofile.h
include/linux/proc_fs.h
include/linux/sound.h
include/linux/sunrpc/stats.h
include/linux/usb.h
include/linux/videodev2.h
include/sound/core.h
net/sunrpc/rpc_pipe.c
net/sunrpc/stats.c
sound/core/init.c
sound/core/sound.c
sound/core/sound_oss.c
sound/sound_core.c