]> www.infradead.org Git - users/hch/block.git/commit
nvme: move a few things out of nvme_update_disk_info
authorChristoph Hellwig <hch@lst.de>
Mon, 26 Feb 2024 17:58:13 +0000 (12:58 -0500)
committerChristoph Hellwig <hch@lst.de>
Thu, 29 Feb 2024 15:01:47 +0000 (07:01 -0800)
commit70ef8a1b730da52b6ac9ed8b76153d518bc982e1
tree17b9e81a80304100248f26163093c1b1b4d8946b
parent296adba5faee51efb8983b515c6bc699920a3ef8
nvme: move a few things out of nvme_update_disk_info

Move setting up the integrity profile and setting the disk capacity out
of nvme_update_disk_info to get nvme_update_disk_info into a shape where
it just sets queue_limits eventually.

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