Re: [PATCH v2 5/5] loop: Don't bother validating blocksize

2024-07-08 Thread Damien Le Moal
On 7/8/24 18:16, John Garry wrote: > The block queue limits validation does this for us now. > > The loop_configure() -> WARN_ON_ONCE() call is dropped, as an invalid > block size would trigger this now. We don't want userspace to be able to > directly trigger WARNs. > > Reviewed-by: Christoph He

[PATCH v2 5/5] loop: Don't bother validating blocksize

2024-07-08 Thread John Garry
The block queue limits validation does this for us now. The loop_configure() -> WARN_ON_ONCE() call is dropped, as an invalid block size would trigger this now. We don't want userspace to be able to directly trigger WARNs. Reviewed-by: Christoph Hellwig Signed-off-by: John Garry --- drivers/bl