mm: zsmalloc: constify struct zs_pool name

Constify `struct zs_pool' ->name.

[akpm@inux-foundation.org: constify zpool_create_pool()'s `type' arg also]
Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Acked-by: Dan Streetman <ddstreet@ieee.org>
Cc: Minchan Kim <minchan@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Sergey SENOZHATSKY
2015-11-06 16:29:21 -08:00
committed by Linus Torvalds
parent 69e18f4dbe
commit 6f3526d6db
5 changed files with 13 additions and 11 deletions

View File

@@ -41,7 +41,7 @@ struct zs_pool_stats {
struct zs_pool;
struct zs_pool *zs_create_pool(char *name, gfp_t flags);
struct zs_pool *zs_create_pool(const char *name, gfp_t flags);
void zs_destroy_pool(struct zs_pool *pool);
unsigned long zs_malloc(struct zs_pool *pool, size_t size);