Re: [PATCH] ocfs2: Remove redundant NULL check for rec variable
From: Andrew Morton
Date: Thu Jul 30 2026 - 21:42:28 EST
On Fri, 31 Jul 2026 08:44:58 +0800 Joseph Qi <joseph.qi@xxxxxxxxxxxxxxxxx> wrote:
>
>
> On 7/30/26 9:15 PM, Roman Demidov wrote:
> > The rec variable will contain the address of the structure array element,
> > i.e., the address of the ocfs2_chain_rec structure.
> > This address cannot be NULL.
> >
> > Found by Linux Verification Center (linuxtesting.org) with SVACE.
> >
> > Signed-off-by: Roman Demidov <roman.demidov@xxxxxxxxxxx>
>
> Reviewed-by: Joseph Qi <joseph.qi@xxxxxxxxxxxxxxxxx>
Thanks. And thanks Roman.
But I'm afraid we aren't supposed to take patches from developers with
Russian affiliations. Especially those which are on the OFAC list,
which appears to be the case with red-soft.ru.
https://share.google/aimode/UgHJ7ubsy9uflS1Qa
https://share.google/aimode/wpqMe0GiORkYi2meC