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

From: Greg Kroah-Hartman
Date: Sat Nov 20 2021 - 02:39:55 EST


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