diff options
author | Minho Ban <mhban@samsung.com> | 2012-05-14 21:45:31 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2012-05-18 20:44:59 +0200 |
commit | 2df83fa4bce421f8176932142f1004adfba0f9dd (patch) | |
tree | edd5051c5b388e82d8954ec09643873be9bc414c /fs/eventpoll.c | |
parent | 4e585d25e120f1eae0a3a8bf8f6ebc7692afec18 (diff) | |
download | linux-2df83fa4bce421f8176932142f1004adfba0f9dd.tar.bz2 |
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>
Diffstat (limited to 'fs/eventpoll.c')
0 files changed, 0 insertions, 0 deletions