blkcg: associate blkg when associating a device
[sfrench/cifs-2.6.git] / block / blk-throttle.c
index 228c3a007ebc4f1ad787ca222abf60fff01d2cde..1c6529df2002d6cee05c4802d1883841d5a79797 100644 (file)
@@ -2118,7 +2118,6 @@ static inline void throtl_update_latency_buckets(struct throtl_data *td)
 static void blk_throtl_assoc_bio(struct bio *bio)
 {
 #ifdef CONFIG_BLK_DEV_THROTTLING_LOW
-       bio_associate_blkg(bio);
        bio_issue_init(&bio->bi_issue, bio_sectors(bio));
 #endif
 }