summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-09-14 08:38:20 +0200
committerChristoph Hellwig <hch@lst.de>2021-09-21 09:17:15 +0200
commit298ba0e3d4af539cc37f982d4c011a0f07fca48c (patch)
tree4bc87ffe43966189450a1223ea144384313073f0 /block
parente371af033c560b9dd1e861f8f0b503142bf0a06c (diff)
downloadlwn-298ba0e3d4af539cc37f982d4c011a0f07fca48c.tar.gz
lwn-298ba0e3d4af539cc37f982d4c011a0f07fca48c.zip
nvme: keep ctrl->namespaces ordered
Various places in the nvme code that rely on ctrl->namespace to be ordered. Ensure that the namespae is inserted into the list at the right position from the start instead of sorting it after the fact. Fixes: 540c801c65eb ("NVMe: Implement namespace list scanning") Reported-by: Anton Eidelman <anton.eidelman@gmail.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Keith Busch <kbusch@kernel.org> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com> Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions