Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(resume): correct call to block_is_netdevice function
The block_is_netdevice function requires the device in <maj:min> format, but the swap_devs array is populated with the content of /proc/swaps, which prints the devices using their paths from /dev. This causes the check method to never detect if swap is mounted on a network device.
- Loading branch information