[PATCH 03/26] loop: stop using loop_reconfigure_limits in __loop_clr_fd

Christoph Hellwig hch at lst.de
Mon Jun 10 22:54:53 PDT 2024


On Tue, Jun 11, 2024 at 02:53:19PM +0900, Damien Le Moal wrote:
> > +	/* reset the block size to the default */
> > +	lim = queue_limits_start_update(lo->lo_queue);
> > +	lim.logical_block_size = 512;
> 
> Nit: SECTOR_SIZE ? maybe ?

Yes.  I was following the existing code, but SECTOR_SIZE is probably
a better choice here.




More information about the Linux-nvme mailing list