]> git.baikalelectronics.ru Git - kernel.git/commit
block: use an atomic_t for mq_freeze_depth
authorChristoph Hellwig <hch@lst.de>
Thu, 7 May 2015 07:38:13 +0000 (09:38 +0200)
committerJens Axboe <axboe@fb.com>
Tue, 19 May 2015 15:12:59 +0000 (09:12 -0600)
commitc041550e82dd28c70e9ad5db9c489abc114050ff
tree76916ca92a584daf7dd398eff0997e7e82bfa4f9
parent9ccbb626137dc6851cc8c8e9251779608662b595
block: use an atomic_t for mq_freeze_depth

lockdep gets unhappy about the not disabling irqs when using the queue_lock
around it.  Instead of trying to fix that up just switch to an atomic_t
and get rid of the lock.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-mq.c
include/linux/blkdev.h