blk-throttle: use queue_is_locked() instead of lockdep_is_held()
authorJens Axboe <axboe@kernel.dk>
Tue, 25 Oct 2011 13:51:48 +0000 (15:51 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 25 Oct 2011 13:51:48 +0000 (15:51 +0200)
commit334c2b0b8b2ab186fa198413386cba41fffcb4f2
tree56c4648cd19c6a613ff653933697ee5cc3e18c87
parenta38eb630fa224d6fba8c14a4063174bc5e0f63bb
blk-throttle: use queue_is_locked() instead of lockdep_is_held()

We can't use the latter if !CONFIG_LOCKDEP.

Reported-by: Sedat Dilek <sedat.dilek@googlemail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-throttle.c