fixed patch error

Something went wrong when I tried to move my changes from my installation
into the git. Now the tests complete successfully.
This commit is contained in:
Chris Vogel 2022-10-19 16:57:41 +02:00 committed by Jaromil
parent 6af298e15f
commit e463a6e600

10
tomb
View File

@ -345,16 +345,6 @@ _is_zramswap() {
# Synopsis: _zramswap_uses_writeback /path/to/block/device
# Return 0 if the zram device writes to disk
# Return 1 if the zram device does not write to disk
elif _is_zramswap $s; then
if _zramswap_uses_writeback $s; then
# We're dealing with unencrypted stuff written to disk.
# Maybe it lives on an encrypted filesystem anyway.
# @todo verify it's actually written to an encrypted FS
# Well, no: bail out.
r=1; break;
else
r=2;
fi
_zramswap_uses_writeback() {
local b=$1 # Path to a block device
local m="" # major device number