[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>
Showing
- arch/powerpc/platforms/cell/spufs/inode.c 1 addition, 1 deletionarch/powerpc/platforms/cell/spufs/inode.c
- arch/ppc/kernel/ppc_htab.c 1 addition, 1 deletionarch/ppc/kernel/ppc_htab.c
- drivers/char/drm/drm_fops.c 1 addition, 1 deletiondrivers/char/drm/drm_fops.c
- drivers/char/drm/i810_dma.c 1 addition, 1 deletiondrivers/char/drm/i810_dma.c
- drivers/char/drm/i830_dma.c 1 addition, 1 deletiondrivers/char/drm/i830_dma.c
- drivers/char/mem.c 1 addition, 1 deletiondrivers/char/mem.c
- drivers/char/misc.c 1 addition, 1 deletiondrivers/char/misc.c
- drivers/input/input.c 1 addition, 1 deletiondrivers/input/input.c
- drivers/isdn/capi/kcapi_proc.c 1 addition, 1 deletiondrivers/isdn/capi/kcapi_proc.c
- drivers/media/dvb/dvb-core/dvbdev.c 1 addition, 1 deletiondrivers/media/dvb/dvb-core/dvbdev.c
- drivers/media/video/videodev.c 1 addition, 1 deletiondrivers/media/video/videodev.c
- drivers/message/i2o/i2o_proc.c 1 addition, 1 deletiondrivers/message/i2o/i2o_proc.c
- drivers/oprofile/oprofilefs.c 3 additions, 3 deletionsdrivers/oprofile/oprofilefs.c
- drivers/telephony/phonedev.c 1 addition, 1 deletiondrivers/telephony/phonedev.c
- drivers/usb/core/file.c 3 additions, 3 deletionsdrivers/usb/core/file.c
- drivers/usb/gadget/inode.c 3 additions, 3 deletionsdrivers/usb/gadget/inode.c
- fs/char_dev.c 2 additions, 2 deletionsfs/char_dev.c
- fs/debugfs/inode.c 1 addition, 1 deletionfs/debugfs/inode.c
- fs/inode.c 1 addition, 1 deletionfs/inode.c
- fs/nfsd/vfs.c 1 addition, 1 deletionfs/nfsd/vfs.c
Loading
Please register or sign in to comment