commit | 423c4f1994bebd8b106251e64ac1fcc04ba2df17 | [log] [tgz] |
---|---|---|
author | shisiyuan <shisiyuan@xiaomi.com> | Tue May 18 11:47:43 2021 +0800 |
committer | shisiyuan <shisiyuan@xiaomi.com> | Tue May 18 14:47:47 2021 +0800 |
tree | 1952737208595bd27465409a95e299cac4aa8cba | |
parent | a6c57d5752437f2eb242eb26def408a7603e26fa [diff] |
KillZramBackingDevice: Return immediately if backing_dev is none. It's possible that CONFIG_ZRAM_WRITEBACK is y, but userspace doesn't set the /sys/block/zram0/backing_dev, so its value is 'none'. It's the same with "CONFIG_ZRAM_WRITEBACK is not set". Change-Id: I2df89ceee68e4685deef5113bada21be96779e9b Signed-off-by: shisiyuan <shisiyuan@xiaomi.com>