]> git.ipfire.org Git - thirdparty/systemd.git/commit
sleep: don't skip resume device with low priority/available space
authorEgor <egor@opensrc.club>
Sun, 3 Oct 2021 00:42:50 +0000 (03:42 +0300)
committerLennart Poettering <lennart@poettering.net>
Mon, 4 Oct 2021 08:23:42 +0000 (10:23 +0200)
commit936a7cb66a0b423e75ceef87f02537067ad17002
treed1f8409fc9d588f3568f9bc79052bf937ce6ec61
parent105bb924a98c52276862e758dc83c3d5b4ed6203
sleep: don't skip resume device with low priority/available space

this fixes hibernation when there's a higher priority swap preceding
the resume swap in /proc/swaps.

fixes #19486
src/shared/sleep-config.c