diff options
author | Daniel Wagner <[email protected]> | 2021-01-27 11:30:33 +0100 |
---|---|---|
committer | Christoph Hellwig <[email protected]> | 2021-01-28 19:25:07 +0100 |
commit | d1bcf006a9d3d63c1bcb65a993cb13756954cd9c (patch) | |
tree | 2a16a1d011dad5477ca27106d5cb2b3665ff26f2 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 899199292b14b7c735808a37517de4dd2160c300 (diff) |
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 <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions