Skip to content
Commit bda48834 authored by Brian Geffon's avatar Brian Geffon Committed by Greg Kroah-Hartman
Browse files

PM: hibernate: Use __get_safe_page() rather than touching the list

commit f0c71830

 upstream.

We found at least one situation where the safe pages list was empty and
get_buffer() would gladly try to use a NULL pointer.

Signed-off-by: default avatarBrian Geffon <bgeffon@google.com>
Fixes: 8357376d

 ("[PATCH] swsusp: Improve handling of highmem")
Cc: All applicable <stable@vger.kernel.org>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 56203112
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