PM / Hibernate: user.c, fix SNAPSHOT_SET_SWAP_AREA handling
authorJiri Slaby <jslaby@suse.cz>
Sat, 10 Apr 2010 20:28:56 +0000 (22:28 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Sat, 10 Apr 2010 20:28:56 +0000 (22:28 +0200)
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>
kernel/power/user.c

Simple merge