mm cleanup: shmem_file_setup: 'char *' -> 'const char *' for name argument
authorSergei Trofimovich <slyfox@inbox.ru>
Tue, 16 Jun 2009 22:33:02 +0000 (15:33 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 17 Jun 2009 02:47:44 +0000 (19:47 -0700)
commit168f5ac668f63dfb64439766e3ef9e866b83719d
treeddefb5678ffc15ac6ddec66e281d3f9c8a75fa0b
parentaca8bf323edd31ad462dc98c107c23a5c6022ca2
mm cleanup: shmem_file_setup: 'char *' -> 'const char *' for name argument

As function shmem_file_setup does not modify/allocate/free/pass given
filename - mark it as const.

Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
Cc: Hugh Dickins <hugh.dickins@tiscali.co.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/mm.h
mm/shmem.c