Update to 3.4-final.
[linux-flexiantxendom0-3.2.10.git] / block / blk-throttle.c
index 5eed6a7..f2ddb94 100644 (file)
@@ -1218,7 +1218,7 @@ void blk_throtl_drain(struct request_queue *q)
        struct bio_list bl;
        struct bio *bio;
 
-       WARN_ON_ONCE(!queue_is_locked(q));
+       queue_lockdep_assert_held(q);
 
        bio_list_init(&bl);