From: Minho Ban Date: Mon, 14 May 2012 19:45:31 +0000 (+0200) Subject: PM / Hibernate: Use get_gendisk to verify partition if resume_file is integer format X-Git-Tag: v3.5-rc1~116^2~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2df83fa4bce421f8176932142f1004adfba0f9dd;p=pandora-kernel.git 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 Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed