From: Jiri Slaby Date: Sat, 10 Apr 2010 20:28:56 +0000 (+0200) Subject: PM / Hibernate: user.c, fix SNAPSHOT_SET_SWAP_AREA handling X-Git-Tag: v2.6.34-rc5~22^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d88d4050dcaf09e417aaa9a5024dd9449ef71b2e;p=pandora-kernel.git PM / Hibernate: user.c, fix SNAPSHOT_SET_SWAP_AREA handling When CONFIG_DEBUG_BLOCK_EXT_DEVT is set we decode the device improperly by old_decode_dev and it results in an error while hibernating with s2disk. All users already pass the new device number, so switch to new_decode_dev(). Signed-off-by: Jiri Slaby Reported-and-tested-by: Jiri Kosina Signed-off-by: "Rafael J. Wysocki" --- Reading git-diff-tree failed