diff options
author | Dan Streetman <[email protected]> | 2017-02-27 14:26:50 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2017-02-27 18:43:45 -0800 |
commit | bae21db88b7075662f28a0aa57e97016a2fdabfd (patch) | |
tree | c052b5c5769cd00584c4e5744249ecac5c6d63dd /arch/powerpc/lib/code-patching.c | |
parent | ae3d89a7e0871bc7b57ef8d3c4dd7fdda43c285c (diff) |
zswap: clear compressor or zpool param if invalid at init
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.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Dan Streetman <[email protected]>
Cc: Seth Jennings <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Sergey Senozhatsky <[email protected]>
Cc: Minchan Kim <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions