pktcdvd: remove queue_lock around blk_queue_max_hw_sectors
authorChristoph Hellwig <hch@lst.de>
Fri, 16 Nov 2018 08:10:03 +0000 (09:10 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 16 Nov 2018 16:16:59 +0000 (09:16 -0700)
commita50f9aec1ac713dd25f1b1b443d97aa2fc69f740
tree1a11919d442dc5ebe4649de901142b38218fe225
parent503f620f0cb8a9da9c2bba72f2141aaa4b0e3962
pktcdvd: remove queue_lock around blk_queue_max_hw_sectors

blk_queue_max_hw_sectors can't do anything with queue_lock protection
so don't hold it.

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