[PATCH] nvme-multipath: Early exit if no path is available

Christoph Hellwig hch at lst.de
Fri Jan 22 12:50:29 EST 2021


On Fri, Jan 22, 2021 at 06:41:25PM +0100, Daniel Wagner wrote:
> 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.

How can that happen once we're in the loop?



More information about the Linux-nvme mailing list