summaryrefslogtreecommitdiffstats
path: root/block/blk-throttle.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-11-14 17:02:08 +0100
committerJens Axboe <axboe@kernel.dk>2018-11-15 12:13:21 -0700
commit373e4af34ec13c17a6b80227c7d5d3719122eb77 (patch)
tree89c93f218d6949e6f802a1703bd0ac0f2c9c2790 /block/blk-throttle.c
parent57d74df90783f6a6b3e79dfdd2a567ce5db3b790 (diff)
downloadlinux-stable-373e4af34ec13c17a6b80227c7d5d3719122eb77.tar.gz
linux-stable-373e4af34ec13c17a6b80227c7d5d3719122eb77.tar.bz2
linux-stable-373e4af34ec13c17a6b80227c7d5d3719122eb77.zip
block: remove queue_lockdep_assert_held
The only remaining user unconditionally drops and reacquires the lock, which means we really don't need any additional (conditional) annotation. Reviewed-by: Hannes Reinecke <hare@suse.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-throttle.c')
-rw-r--r--block/blk-throttle.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/block/blk-throttle.c b/block/blk-throttle.c
index 8e6f3c9821c2..a665b0950369 100644
--- a/block/blk-throttle.c
+++ b/block/blk-throttle.c
@@ -2353,7 +2353,6 @@ void blk_throtl_drain(struct request_queue *q)
struct bio *bio;
int rw;
- queue_lockdep_assert_held(q);
rcu_read_lock();
/*