Skip to content
Commit d88d4050 authored by Jiri Slaby's avatar Jiri Slaby Committed by Rafael J. Wysocki
Browse files

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: default avatarJiri Slaby <jslaby@suse.cz>
Reported-and-tested-by: default avatarJiri Kosina <jkosina@suse.cz>
Signed-off-by: default avatar"Rafael J. Wysocki" <rjw@sisk.pl>
parent 0eddb519
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment