libata: fix sata_link_hardreset() @online out parameter handling
authorTejun Heo <htejun@gmail.com>
Sun, 18 May 2008 16:15:05 +0000 (01:15 +0900)
committerJeff Garzik <jgarzik@redhat.com>
Mon, 19 May 2008 21:51:47 +0000 (17:51 -0400)
commit0cbf0711a1ebcc4d3aea8e11def684afc2c07ef8
tree459d346c5e16c4251346544561a4d71f87634975
parent7715a6f9cdb9c1422d2b1f4fea21b1fe86b5b0fe
libata: fix sata_link_hardreset() @online out parameter handling

The @online out parameter is supposed to set to true iff link is
online and reset succeeded as advertised in the function description
and callers are coded expecting that.  However, sata_link_reset()
didn't behave this way on device readiness test failure.  Fix it.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/libata-core.c