X-Git-Url: https://git.stricted.de/?a=blobdiff_plain;f=block%2Fblk-throttle.c;h=f2ddb94626bd49df5e942591998d19ff8665a0eb;hb=61906313bd41cde2f9aaa14e461e6108d3e71aaa;hp=5eed6a76721d1d78e8105f4bbde30e41f20a66cd;hpb=98e96852480566333f6dacd3223f0be15df34d60;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git diff --git a/block/blk-throttle.c b/block/blk-throttle.c index 5eed6a76721d..f2ddb94626bd 100644 --- a/block/blk-throttle.c +++ b/block/blk-throttle.c @@ -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);