From: Rafael J. Wysocki Date: Sun, 12 Apr 2009 18:06:56 +0000 (+0200) Subject: PM/Hibernate: Wait for SCSI devices scan to complete during resume X-Git-Tag: v2.6.30-rc2~72 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c751085943362143f84346d274e0011419c84202;p=pandora-kernel.git PM/Hibernate: Wait for SCSI devices scan to complete during resume 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 Acked-by: Arjan van de Ven Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed