summaryrefslogtreecommitdiff
path: root/scripts/clang-tools/gen_compile_commands.py
diff options
context:
space:
mode:
authorDaniel Wagner <dwagner@suse.de>2021-01-27 13:30:33 +0300
committerChristoph Hellwig <hch@lst.de>2021-01-28 21:25:07 +0300
commitd1bcf006a9d3d63c1bcb65a993cb13756954cd9c (patch)
tree2a16a1d011dad5477ca27106d5cb2b3665ff26f2 /scripts/clang-tools/gen_compile_commands.py
parent899199292b14b7c735808a37517de4dd2160c300 (diff)
downloadlinux-d1bcf006a9d3d63c1bcb65a993cb13756954cd9c.tar.xz
nvme-multipath: Early exit if no path is available
nvme_round_robin_path() should test if the return ns pointer is valid. nvme_next_ns() will return a NULL pointer if there is no path left. Fixes: 75c10e732724 ("nvme-multipath: round-robin I/O policy") Signed-off-by: Daniel Wagner <dwagner@suse.de> Reviewed-by: Hannes Reinecke <hare@suse.de> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions