Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: 75c10e7 ("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]>
- Loading branch information