[PATCH] libata: fix ->phy_reset class code handling in ata_bus_probe()
authorTejun Heo <htejun@gmail.com>
Mon, 15 May 2006 11:57:30 +0000 (20:57 +0900)
committerTejun Heo <htejun@gmail.com>
Mon, 15 May 2006 11:57:30 +0000 (20:57 +0900)
ata_bus_probe() doesn't clear dev->class after ->phy_reset().  This
can result in falsely enabled devices if probing fails.  Clear
dev->class to ATA_DEV_UNKNOWN after fetching it.

Signed-off-by: Tejun Heo <htejun@gmail.com>
drivers/scsi/libata-core.c

Simple merge