From: Tejun Heo Date: Sun, 18 May 2008 16:15:07 +0000 (+0900) Subject: libata: move reset freeze/thaw handling into ata_eh_reset() X-Git-Tag: v2.6.26-rc4~120^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc98c32cbe80750ae2d9d9fbdae305d38f005de7;p=pandora-kernel.git libata: move reset freeze/thaw handling into ata_eh_reset() Previously reset freeze/thaw handling lived outside of ata_eh_reset() mainly because the original PMP reset code needed the port frozen while resetting all the fan-out ports, which is no longer the case. This patch moves freeze/thaw handling into ata_eh_reset(). @prereset() and @postreset() are now called w/o freezing the port although @prereset() an be called frozen if the port is frozen prior to entering ata_eh_reset(). This makes code simpler and will help removing hotplug event related races. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed