nvme: move a few things out of nvme_update_disk_info
authorChristoph Hellwig <hch@lst.de>
Mon, 4 Mar 2024 14:04:52 +0000 (07:04 -0700)
committerKeith Busch <kbusch@kernel.org>
Mon, 4 Mar 2024 16:24:56 +0000 (08:24 -0800)
commita5b1cd61820e88d90454ad87154856a7a20aafbf
treed6e0a830ef8699bcb620ba8cafcd814e9903bd49
parent8f03cfa117e06bd2d3ba7ed8bba70a3dda310cae
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>
Signed-off-by: Keith Busch <kbusch@kernel.org>
drivers/nvme/host/core.c