diff options
author | Emil Muratov <gpm@hotplug.ru> | 2018-08-02 00:18:45 +0300 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2018-09-29 17:23:11 +0200 |
commit | 9edc1fe8abac6638cd05640279bc741a23b8d260 (patch) | |
tree | 11f01f2944eb473a3e57f1ccd73f3fe4028c4b24 /toolchain | |
parent | b9e89adfb7881806d01e3bd259852e352f3b3ce8 (diff) | |
download | upstream-9edc1fe8abac6638cd05640279bc741a23b8d260.tar.gz upstream-9edc1fe8abac6638cd05640279bc741a23b8d260.tar.bz2 upstream-9edc1fe8abac6638cd05640279bc741a23b8d260.zip |
zram-swap: fix zram dev reset for multicore cpu devices
* "zram stop" could reset up to $(num_of_cores) zram devices even if
some of those were not mounted as swap dev's. This fix tries to
enumerate mounted swap zram dev's before making a reset
* remove hot-added zram devs on stop (except zram0)
Signed-off-by: Emil Muratov <gpm@hotplug.ru>
Diffstat (limited to 'toolchain')
0 files changed, 0 insertions, 0 deletions