]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
nvme: clean up nvme_scan_work
authorChristoph Hellwig <hch@lst.de>
Sat, 4 Apr 2020 08:16:03 +0000 (10:16 +0200)
committerJens Axboe <axboe@kernel.dk>
Sat, 9 May 2020 22:18:35 +0000 (16:18 -0600)
commit25dcaa9292afc0689749099a5ba56fdb264eda7a
tree764556b72ea68ce4d928eba8a768e31a82b387bc
parentb9a5c3d4c34d8bd9fd75f7f28d18a57cb68da237
nvme: clean up nvme_scan_work

Move the check for the supported CNS value into nvme_scan_ns_list, and
limit the life time of the identify controller allocation.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/host/core.c