diff options
author | Andrew Jorgensen <ajorgens@amazon.com> | 2018-07-25 08:06:57 -0700 |
---|---|---|
committer | The Plumber <50238977+systemd-rhel-bot@users.noreply.github.com> | 2019-10-22 16:31:04 +0200 |
commit | 069cf14150b55e6580cf1d482709a0e48c36ee84 (patch) | |
tree | 074754878ff0546674d6e58a4a371e5790cafbbb /src/core/dynamic-user.c | |
parent | 27d1acaa1d4c9299db461f0f1922c573be6a52c0 (diff) | |
download | systemd-069cf14150b55e6580cf1d482709a0e48c36ee84.tar.gz |
shared/sleep-config: exclude zram devices from hibernation candidates
On a host with sufficiently large zram but with no actual swap, logind will
respond to CanHibernate() with yes. With this patch, it will correctly respond
no, unless there are other swap devices to consider.
(cherry picked from commit 411ae92b407bd7b4549b205ad754bcd0e3dfd81f)
Resolves: #1763617
Diffstat (limited to 'src/core/dynamic-user.c')
0 files changed, 0 insertions, 0 deletions