]> Git Repo - linux.git/commit - Documentation/kernel-parameters.txt
PM / Hibernate: Use get_gendisk to verify partition if resume_file is integer format
authorMinho Ban <[email protected]>
Mon, 14 May 2012 19:45:31 +0000 (21:45 +0200)
committerRafael J. Wysocki <[email protected]>
Fri, 18 May 2012 18:44:59 +0000 (20:44 +0200)
commit2df83fa4bce421f8176932142f1004adfba0f9dd
treeedd5051c5b388e82d8954ec09643873be9bc414c
parent4e585d25e120f1eae0a3a8bf8f6ebc7692afec18
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 <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Documentation/kernel-parameters.txt
kernel/power/hibernate.c
This page took 0.054358 seconds and 4 git commands to generate.