block: use lockdep_assert_held for queue locking
authorAndi Kleen <ak@linux.intel.com>
Fri, 30 Mar 2012 10:33:28 +0000 (12:33 +0200)
committerVarun Wadekar <vwadekar@nvidia.com>
Wed, 18 Apr 2012 15:00:32 +0000 (20:00 +0530)
commit5366bef6a3ff3598d890527dcae8956c77c6f9a2
treeec4758aa49c5fd294dc572d09d0766116ac352dd
parent33575302ed6e90efd7ed43f5a3c4b88700d4c90d
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