aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/make_fit.py
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2024-04-03 12:47:17 +0000
committerKeith Busch <[email protected]>2024-04-04 15:33:15 +0000
commit0551ec93a00d935efd86b45bf70cefdc4e515b65 (patch)
treed4571e78ce2b98bba98e2b3d714e4f44660fd5a3 /scripts/make_fit.py
parentnvme: split nvme_update_zone_info (diff)
downloadkernel-0551ec93a00d935efd86b45bf70cefdc4e515b65.tar.gz
kernel-0551ec93a00d935efd86b45bf70cefdc4e515b65.zip
nvme: don't create a multipath node for zero capacity devices
Apparently there are nvme controllers around that report namespaces in the namespace list which have zero capacity. Return -ENXIO instead of -ENODEV from nvme_update_ns_info_block so we don't create a hidden multipath node for these namespaces but entirely ignore them. Fixes: 46e7422cda84 ("nvme: move common logic into nvme_update_ns_info") Reported-by: Nilay Shroff <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]> Tested-by: Nilay Shroff <[email protected]> Reviewed-by: Chaitanya Kulkarni <[email protected]> Signed-off-by: Keith Busch <[email protected]>
Diffstat (limited to 'scripts/make_fit.py')
0 files changed, 0 insertions, 0 deletions