summaryrefslogtreecommitdiffstats
path: root/block/blk-core.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2008-11-11 21:32:44 +0100
committerLen Brown <len.brown@intel.com>2008-12-19 10:40:35 +0100
commit69643279a88dea000ac2f858091d0e365f778245 (patch)
treec6b9a678ccfe9a4e22f747cb05b1bcf789e1b8d0 /block/blk-core.c
parentACPI hibernate: Introduce new kernel parameter acpi_sleep=s4_nonvs (diff)
downloadlinux-69643279a88dea000ac2f858091d0e365f778245.tar.xz
linux-69643279a88dea000ac2f858091d0e365f778245.zip
Hibernate: Do not oops on resume if image data are incorrect
During resume from hibernation using the userland interface image data are being passed from the used space process to the kernel. These data need not be valid, but currently the kernel sometimes oopses if it gets invalid image data, which is wrong. Make the kernel return error codes to the user space in such cases. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Acked-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'block/blk-core.c')
0 files changed, 0 insertions, 0 deletions