]> www.infradead.org Git - users/hch/block.git/commit
nvme: move common logic into nvme_update_ns_info
authorChristoph Hellwig <hch@lst.de>
Mon, 26 Feb 2024 15:10:09 +0000 (10:10 -0500)
committerChristoph Hellwig <hch@lst.de>
Thu, 29 Feb 2024 15:22:17 +0000 (07:22 -0800)
commit2115d4cabca254e724943c0a063a29ff3eea7cda
treecf6f663751f6a6df9f050d65cfdd9a500635dd84
parent4e7a508532df906355dccaca4dfb265e0dcbfc1e
nvme: move common logic into nvme_update_ns_info

nvme_update_ns_info_generic and nvme_update_ns_info_block share a
fair amount of logic related to not fully supported namespace
formats and updating the multipath information.  Move this logic
into the common caller.

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