[S390] dasd: bus_id -> dev_name() conversion.
authorCornelia Huck <cornelia.huck@de.ibm.com>
Wed, 11 Feb 2009 09:37:30 +0000 (10:37 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 11 Feb 2009 09:37:40 +0000 (10:37 +0100)
bus_id usage crept in again; fix it.

Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
drivers/s390/block/dasd_devmap.c

index 300e28a531f80c938f880b68c246f921686c63bb..34339902efb9efd2ed64f9ca6515141b0b85c9cb 100644 (file)
@@ -677,7 +677,7 @@ static ssize_t dasd_ff_show(struct device *dev, struct device_attribute *attr,
        struct dasd_devmap *devmap;
        int ff_flag;
 
-       devmap = dasd_find_busid(dev->bus_id);
+       devmap = dasd_find_busid(dev_name(dev));
        if (!IS_ERR(devmap))
                ff_flag = (devmap->features & DASD_FEATURE_FAILFAST) != 0;
        else