commit | 932648b007de76badc61c1b13d7282288dbe887e | [log] [tgz] |
---|---|---|
author | Tejun Heo <htejun@gmail.com> | Mon May 19 01:15:06 2008 +0900 |
committer | Jeff Garzik <jgarzik@redhat.com> | Mon May 19 17:51:47 2008 -0400 |
tree | 3a3c00f6068f530632012ee3a6aaccedbe1158ba | |
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>