mirror of
https://github.com/Jeffrey-Sardina/liberated-systemd.git
synced 2026-10-23 11:32:43 -05:00
When calculation of swap file offset is unsupported, rely on the /sys/power/resume & /sys/power/resume_offset values if configured rather than requiring a matching swap entry to be identified. Refactor to use dev_t for comparison of resume= device instead of string.