block: use lockdep_assert_held for queue locking
commit8bcb6c7d48eb341b1f49f814cdcbe05eb6f15680
authorAndi Kleen <ak@linux.intel.com>
Fri, 30 Mar 2012 10:33:28 +0000 (30 12:33 +0200)
committerJens Axboe <axboe@kernel.dk>
Fri, 30 Mar 2012 10:33:28 +0000 (30 12:33 +0200)
tree83ff62ab93d0cf2c2687e5ca8799cac4c5dcfa25
parent00380a404fc4235e9b8b39598138bd3223a27b8a
block: use lockdep_assert_held for queue locking

Instead of an ugly open coded variant.

Cc: axboe@kernel.dk
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-throttle.c
include/linux/blkdev.h