blkcg: update blkg_lookup_create() to do locking
[sfrench/cifs-2.6.git] / block / blk-iolatency.c
index fe0c4ca312ff621a988c1e81e5b193ba5c5ee5cb..e6f68f15dee98e8a7f939a15b8141bbe9d9d682e 100644 (file)
@@ -486,7 +486,7 @@ static void blkcg_iolatency_throttle(struct rq_qos *rqos, struct bio *bio)
        blkg = blkg_lookup(blkcg, q);
        if (unlikely(!blkg)) {
                spin_lock_irq(&q->queue_lock);
-               blkg = blkg_lookup_create(blkcg, q);
+               blkg = __blkg_lookup_create(blkcg, q);
                if (IS_ERR(blkg))
                        blkg = NULL;
                spin_unlock_irq(&q->queue_lock);