summaryrefslogtreecommitdiffstats
path: root/lib/halfmd4.c
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2008-05-18 18:15:07 +0200
committerJeff Garzik <jgarzik@redhat.com>2008-05-19 23:51:47 +0200
commitdc98c32cbe80750ae2d9d9fbdae305d38f005de7 (patch)
tree52bff671e5ed5b39056bb4a5c531476c83e9f708 /lib/halfmd4.c
parentlibata: reorganize ata_eh_reset() no reset method path (diff)
downloadlinux-dc98c32cbe80750ae2d9d9fbdae305d38f005de7.tar.xz
linux-dc98c32cbe80750ae2d9d9fbdae305d38f005de7.zip
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 <htejun@gmail.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'lib/halfmd4.c')
0 files changed, 0 insertions, 0 deletions