diff options
author | Dan Streetman <ddstreet@ieee.org> | 2017-02-28 01:26:50 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-02-28 05:43:45 +0300 |
commit | bae21db88b7075662f28a0aa57e97016a2fdabfd (patch) | |
tree | c052b5c5769cd00584c4e5744249ecac5c6d63dd /arch/mips/include/asm/gio_device.h | |
parent | ae3d89a7e0871bc7b57ef8d3c4dd7fdda43c285c (diff) | |
download | linux-bae21db88b7075662f28a0aa57e97016a2fdabfd.tar.xz |
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/20170124200259.16191-4-ddstreet@ieee.org
Signed-off-by: Dan Streetman <dan.streetman@canonical.com>
Cc: Seth Jennings <sjenning@redhat.com>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com>
Cc: Minchan Kim <minchan@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/mips/include/asm/gio_device.h')
0 files changed, 0 insertions, 0 deletions