]> www.infradead.org Git - users/hch/block.git/commit
nvme-loop: initialize max_hw_sectors earlier
authorChristoph Hellwig <hch@lst.de>
Mon, 26 Feb 2024 18:10:45 +0000 (13:10 -0500)
committerChristoph Hellwig <hch@lst.de>
Thu, 29 Feb 2024 15:23:08 +0000 (07:23 -0800)
commitba151dc24af4885557ab9c5d37ad7afd58090aef
tree636536a17084fbabc0145918c32ac7e4010ac77e
parent2f17005236642ae08d56c0edc4e1aefbbc641e2c
nvme-loop: initialize max_hw_sectors earlier

Initialize max_hw_sectors a little earlier so that
nvme_alloc_admin_tag_set can rely on it to set the initial queue limits.

Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/target/loop.c