nvme: disable irqs in nvme_freeze_queues
authorChristoph Hellwig <hch@lst.de>
Thu, 7 May 2015 07:38:14 +0000 (09:38 +0200)
committerJens Axboe <axboe@fb.com>
Tue, 19 May 2015 15:13:06 +0000 (09:13 -0600)
commitcddcd72bcec3b1dc9cef7f17d724a7fe42d64cc1
treeb4838416786fc2d40b53703679feaacccfaa34c6
parent8a0ee3b52df73c7b89376b03c789232b78dd2aff
nvme: disable irqs in nvme_freeze_queues

The queue_lock needs to be taken with irqs disabled.  This is mostly
due to the old pre blk-mq usage pattern, but we've also picked it up
in most of the few places where we use the queue_lock with blk-mq.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/nvme-core.c