[PATCH 04/26] loop: always update discard settings in loop_reconfigure_limits

Damien Le Moal dlemoal at kernel.org
Mon Jun 10 22:54:11 PDT 2024


On 6/11/24 2:19 PM, Christoph Hellwig wrote:
> Simplify loop_reconfigure_limits by always updating the discard limits.
> This adds a little more work to loop_set_block_size, but doesn't change
> the outcome as the discard flag won't change.
> 
> Signed-off-by: Christoph Hellwig <hch at lst.de>

Looks OK to me.

Reviewed-by: Damien Le Moal <dlemoal at kernel.org>

-- 
Damien Le Moal
Western Digital Research




More information about the linux-mtd mailing list