[PATCH 3/3] zswap: clear compressor or zpool param if invalid at init

2017-01-24 Thread Dan Streetman
If either the compressor and/or zpool param are invalid at boot, and their default value is also invalid, set the param to the empty string to indicate there is no compressor and/or zpool configured. This allows users to check the sysfs interface to see which param needs changing. Signed-off-by:

[PATCH 3/3] zswap: clear compressor or zpool param if invalid at init

2017-01-24 Thread Dan Streetman
If either the compressor and/or zpool param are invalid at boot, and their default value is also invalid, set the param to the empty string to indicate there is no compressor and/or zpool configured. This allows users to check the sysfs interface to see which param needs changing. Signed-off-by: