Re: [PATCH -next] ext4: Simplify if condition

From: Theodore Ts'o
Date: Thu Nov 07 2024 - 10:13:53 EST



On Fri, 30 Aug 2024 15:17:13 +0800, Jiapeng Chong wrote:
> The if condition !A || A && B can be simplified to !A || B.
>
> ./fs/ext4/fast_commit.c:362:21-23: WARNING !A || A && B is equivalent to !A || B.
>
>

Applied, thanks!

[1/1] ext4: Simplify if condition
commit: 296eb810fa1f346f3a1eae46504459a3f81126dc

Best regards,
--
Theodore Ts'o <tytso@xxxxxxx>