ide: don't acquire queue_lock in ide_complete_pm_rq
authorChristoph Hellwig <hch@lst.de>
Fri, 16 Nov 2018 08:10:05 +0000 (09:10 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 16 Nov 2018 16:17:02 +0000 (09:17 -0700)
commitf04842734c7a68381ab3cb45628ffb3ff1029490
tree94adc330c45e384d3f3c916884c98e7346184a23
parentb2101f655f8f6bd510154364e24d1cdba037133f
ide: don't acquire queue_lock in ide_complete_pm_rq

blk_mq_stop_hw_queues doesn't need any locking, and the ide
dev_flags field isn't protected by it either.

Reviewed-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/ide/ide-pm.c