[PATCHv2 3/3] nvme-pci: fix queue_rqs list splitting

Christoph Hellwig hch at lst.de
Tue Jan 4 23:35:22 PST 2022


On Tue, Jan 04, 2022 at 11:38:07AM -0800, Keith Busch wrote:
> On Wed, Dec 29, 2021 at 06:46:02PM +0100, Christoph Hellwig wrote:
> > I wonder if a restart label here would be a little cleaner, something
> > like:
> 
> On second thought, this requires another check that the *rqlist is not
> NULL before 'goto restart' since the safe iterator dereferences it. I'm
> not sure this is cleaner than the original anymore.

Ok, let's stick to the original then.



More information about the Linux-nvme mailing list