]> Pileus Git - ~andy/linux/blobdiff - block/blk-throttle.c
sparc: Stash orig_i0 into %g6 instead of %g2
[~andy/linux] / block / blk-throttle.c
index 8edb9499b509b9dc8439d98530d31665e9afca04..4553245d93175bc34ddd83966e640161ca81e89f 100644 (file)
@@ -1218,7 +1218,7 @@ void blk_throtl_drain(struct request_queue *q)
        struct bio_list bl;
        struct bio *bio;
 
-       lockdep_is_held(q->queue_lock);
+       WARN_ON_ONCE(!queue_is_locked(q));
 
        bio_list_init(&bl);