libata: fix ata_eh_suspend() return value
authorTejun Heo <htejun@gmail.com>
Fri, 26 Jan 2007 11:10:25 +0000 (20:10 +0900)
committerJeff Garzik <jeff@garzik.org>
Sat, 27 Jan 2007 08:21:26 +0000 (03:21 -0500)
commit03ee5b1cdd09ed1ee2e75d0bc647fc5db66b9d07
tree10ecde7e2c008406bdbc13bd0e1fd22246033b3b
parenta718728f9e40ec79c0879ec6509a54fee214f5b2
libata: fix ata_eh_suspend() return value

ata_eh_suspend() was returning 0 regardless of failure.  This bug has
potential to lose data on suspend.  Fix it.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/libata-eh.c