[PATCH 02/20] nvme: fix initialization of the zone bitmaps

Christoph Hellwig hch at lst.de
Mon Sep 28 10:26:06 EDT 2020


On Mon, Sep 28, 2020 at 02:16:34PM +0000, Damien Le Moal wrote:
> > +int nvme_revalidate_zones(struct nvme_ns *ns)
> > +{
> > +	struct request_queue *q = ns->disk->queue;
> 
> struct request_queue *q = ns->queue;
> 
> may be ?

That would indeed be a little shorted.  But both should work the same.



More information about the Linux-nvme mailing list