libata: relocate sdev->manage_start_stop configuration
authorTejun Heo <htejun@gmail.com>
Mon, 14 Jan 2008 23:46:59 +0000 (08:46 +0900)
committerJeff Garzik <jeff@garzik.org>
Tue, 15 Jan 2008 02:11:02 +0000 (21:11 -0500)
commitd8cf5389bd9d1f0ac9fea51796c274ba64b83d80
treeb6f6c10b9d7ca625ad531bd5ca1778d354fb15d5
parentc2e14f11120bbef0c883e795da8180b58f3cddae
libata: relocate sdev->manage_start_stop configuration

After 9b8e8de7, manage_start_stop configuration depends on valid ATA
device.  Move it into ata_scsi_dev_config().  This was detected by the
coverity checker.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Cc: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/libata-scsi.c