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

Christoph Hellwig hch at lst.de
Tue Jun 11 15:54:53 AEST 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 Linuxppc-dev mailing list