Re: [PATCH 5.10 03/21] loop: Use blk_validate_block_size() to validate block size

Greg Kroah-Hartman
2021-11-20T07:39:53Z

On Fri, Nov 19, 2021 at 10:45:22PM +0100, Pavel Machek wrote:
> Hi!
>
> > commit af3c570fb0df422b4906ebd11c1bf363d89961d5 upstream.
> >
> > Remove loop_validate_block_size() and use the block layer helper
> > to validate block size.
>
> This is just a cleanup, and it needs previous cleanup to be
> applied. I would not mind if both were dropped from stable series.

No, it is not a cleanup, it fixes a real bug as reported on the stable
mailing list.

greg k-h