Revision c751085943362143f84346d274e0011419c84202 authored by Rafael J. Wysocki on 12 April 2009, 18:06:56 UTC, committed by Linus Torvalds on 13 April 2009, 18:37:07 UTC
There is a race between resume from hibernation and the asynchronous
scanning of SCSI devices and to prevent it from happening we need to
call scsi_complete_async_scans() during resume from hibernation.

In addition, if the resume from hibernation is userland-driven, it's
better to wait for all device probes in the kernel to complete before
attempting to open the resume device.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 7b11428
History
File Mode Size
firmware_class
kobject
kprobes
markers
tracepoints
Kconfig -rw-r--r-- 1.0 KB
Makefile -rw-r--r-- 100 bytes

back to top