Re: [PATCH 5.10.y] fs/jfs: cast inactags to s64 to prevent potential overflow

From: Fedor Pchelkin
Date: Wed Feb 19 2025 - 06:38:11 EST


On Wed, 19. Feb 14:10, Rand Deeb wrote:
> I focused on 5.10 and added it to the subject to avoid confusion,
> since files differ across versions. But yes, all versions have the issue.
> In one of my past patches, maintainers couldn't apply it due to kernel
> version differences, which led to confusion. So I thought specifying
> the version upfront would help. My bad, I should have noted it after
> the commit message instead.

The officially supported stable kernel branches can take the patch if it
or its equivalent is already present in the mainline.
https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html

>
> I'll take this into account in future patches. Should I send another
> patch specifically for the mainline version now?

Yes. And not specifically, but deliberately (it's a requirement). The
existing problems should be fixed there at first.