diff options
author | Tejun Heo <htejun@gmail.com> | 2008-05-19 01:15:06 +0900 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-05-19 17:51:47 -0400 |
commit | 932648b007de76badc61c1b13d7282288dbe887e (patch) | |
tree | 3a3c00f6068f530632012ee3a6aaccedbe1158ba /lib/ratelimit.c | |
parent | 0cbf0711a1ebcc4d3aea8e11def684afc2c07ef8 (diff) |
libata: reorganize ata_eh_reset() no reset method path
Reorganize ata_eh_reset() such that @prereset() is called even when no
reset method is available and if block is used instead of goto to skip
actual reset. This makes no reset case behave better (readiness wait)
and future changes easier.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'lib/ratelimit.c')
0 files changed, 0 insertions, 0 deletions