aboutsummaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorTejun Heo <[email protected]>2007-05-11 14:46:51 +0200
committerJeff Garzik <[email protected]>2007-05-11 18:09:18 -0400
commit8575b814097af648dad284bd3087875a11b13d18 (patch)
tree33ee44f9bafab76229df2516c309f31fd6ef428d /include/linux/debugobjects.h
parent54936f8b099325992f0f212a5e366fd5257c6c9c (diff)
libata: give devices one last chance even if recovery failed with -EINVAL
After certain errors, some devices report complete garbage on IDENTIFY. This can cause ata_dev_read_id() to fail with -EINVAL resulting in immediate disabling of the device. Give the device one last chance after -EINVAL to allow recovery from such situations. As -EINVAL is triggered very rarely, this shouldn't cause any noticeable affect on more common error paths. Signed-off-by: Tejun Heo <[email protected]> Cc: Harald Dunkel <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions