commit | d88d4050dcaf09e417aaa9a5024dd9449ef71b2e | [log] [tgz] |
---|---|---|
author | Jiri Slaby <jslaby@suse.cz> | Sat Apr 10 22:28:56 2010 +0200 |
committer | Rafael J. Wysocki <rjw@sisk.pl> | Sat Apr 10 22:28:56 2010 +0200 |
tree | 5156b4821fdb1a3c13cb9577c93b2eb6acb48814 | |
parent | 0eddb519b9127c73d53db4bf3ec1d45b13f844d1 [diff] |
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 <jslaby@suse.cz> Reported-and-tested-by: Jiri Kosina <jkosina@suse.cz> Signed-off-by: "Rafael J. Wysocki" <rjw@sisk.pl>