]> git.baikalelectronics.ru Git - kernel.git/commit
nvme-core: check ctrl css before setting up zns
authorChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Tue, 9 Mar 2021 04:58:21 +0000 (20:58 -0800)
committerChristoph Hellwig <hch@lst.de>
Thu, 11 Mar 2021 10:48:35 +0000 (11:48 +0100)
commit44f37f5e01f687d4a2881891591f7cfbd454f01b
treecae59b02fcd7b8e55b8b5f32fdc9e877804d023c
parent0a0b64bfb83abe1c40956915249958c5b1d2ea31
nvme-core: check ctrl css before setting up zns

Ensure multiple Command Sets are supported before starting to setup a
ZNS namespace.

Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
[hch: move the check around a bit]
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/core.c