]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit0a5967fff8732ee3621d3779048383d3a4736532
tree07c51258c2294279521a10b5d28b66cdaa001796
parented90f49d03ad7e2f23fac9d681e7c105fe5e900f
[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