mirror of
https://github.com/torvalds/linux.git
synced 2026-11-25 16:02:57 +00:00
Sometimes resume= parameter comes in integer style (e.g. major:minor) and then name_to_dev_t can not detect partition properly. (especially async device like usb, mmc). This patch calls get_gendisk() if resumewait is true and resume_file is in integer format to work around this problem. Signed-off-by: Minho Ban <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>