commit | 4f7faa3f2b99f8fb246c8cdeef971e55ceda4e52 | [log] [tgz] |
---|---|---|
author | Tejun Heo <htejun@gmail.com> | Wed Jan 30 18:18:26 2008 +0900 |
committer | Jeff Garzik <jgarzik@redhat.com> | Thu Apr 17 15:44:26 2008 -0400 |
tree | 54602fe9e13d6ee571efe41174dd6ba1c63aec4c | |
parent | b93fda12357b3f1aa55cf69d8e088372788ea9ea [diff] |
libata: make EH fail gracefully if no reset method is available When no reset method is available, libata currently oopses. Although the condition can't happen unless there's a bug in a low level driver, oopsing isn't the best way to report the error condition. Complain, dump stack and fail reset instead. Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>