]> err.no Git - linux-2.6/commit
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)
commit4f7faa3f2b99f8fb246c8cdeef971e55ceda4e52
tree54602fe9e13d6ee571efe41174dd6ba1c63aec4c
parentb93fda12357b3f1aa55cf69d8e088372788ea9ea
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>
drivers/ata/libata-eh.c