Skip to content
Snippets Groups Projects
Commit 2df83fa4 authored by Minho Ban's avatar Minho Ban Committed by Rafael J. Wysocki
Browse files

PM / Hibernate: Use get_gendisk to verify partition if resume_file is integer format


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: default avatarMinho Ban <mhban@samsung.com>
Signed-off-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
parent 4e585d25
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment