Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b2a64ccf authored by cloud.you's avatar cloud.you
Browse files

Fixed failure of clearing loopback device

Loopback device is already cleared when resetting ZRAM_BACK_DEV,
ZRAM_BACK_DEV is changed to "none" from "/dev/block/loopXX".
So it needs to read ZRAM_BACK_DEV again before checking it.

Bug: 388158025
Test:
- Boot up device with zram writeback enabled
- adb root
- adb reboot userspace

Change-Id: Ib7b648f6a50eb3ef4d3b0268ed9e11d8c6e0a181
parent 8ebd76c9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment