diff options
author | Dan Streetman <ddstreet@ieee.org> | 2015-11-06 16:29:15 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-11-06 17:50:42 -0800 |
commit | c99b42c3529e5e1bff00f68250dc869f7de3bd5f (patch) | |
tree | e3d1b04e23d97c00428216a1796695be0737ecb9 /mm/zpool.c | |
parent | 3d9c637f4ae74b45d95bb6cbd793fbffad0a709c (diff) | |
download | linux-c99b42c3529e5e1bff00f68250dc869f7de3bd5f.tar.bz2 |
zswap: use charp for zswap param strings
Instead of using a fixed-length string for the zswap params, use charp.
This simplifies the code and uses less memory, as most zswap param strings
will be less than the current maximum length.
Signed-off-by: Dan Streetman <ddstreet@ieee.org>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Seth Jennings <sjennings@variantweb.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/zpool.c')
0 files changed, 0 insertions, 0 deletions