commit | 7e8104c4cb7586e572edde2553559e83630b0ee5 | [log] [tgz] |
---|---|---|
author | Minho Ban <mhban@samsung.com> | Mon May 14 21:45:31 2012 +0200 |
committer | chrmhoffmann <chrmhoffmann@gmail.com> | Sun Apr 05 10:22:05 2020 +0200 |
tree | fcc02522069651f92aa3e4af595671b86140d8fd | |
parent | 02cdb952a9829a6d6e8e1bbb04e3b50f443599f6 [diff] |
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: Minho Ban <mhban@samsung.com> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>