[PATCH] constify inode accessors
authorJan Engelhardt <jengelh@linux01.gwdg.de>
Thu, 7 Dec 2006 04:35:37 +0000 (20:35 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Thu, 7 Dec 2006 16:39:31 +0000 (08:39 -0800)
commit48ed214d10ae3c3999af938970f7b5b58df77be3
tree07c51258c2294279521a10b5d28b66cdaa001796
parent89fc9a1a79725c3e5c3b66cb6bd2c7d9eeab29fa
[PATCH] constify inode accessors

Change the signature of i_size_read(), IMINOR() and IMAJOR() because they,
or the functions they call, will never modify the argument.

Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/fs.h