libata: make EH fail gracefully if no reset method is available
authorTejun Heo <htejun@gmail.com>
Wed, 30 Jan 2008 09:18:26 +0000 (18:18 +0900)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 17 Apr 2008 19:44:26 +0000 (15:44 -0400)
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>

No differences found