On Tue, 08 Jul 2025 10:00:13 +0800, I Hsin Cheng wrote: > Refactor the condition for breaking the loop within xattr_find_entry(). > Elimate the usage of "<=" and take condition shortcut when "!cmp" is > true. > > Originally, the condition was "(cmp <= 0 && (sorted || cmp == 0))", which > means after it knows "cmp <= 0" is true, it has to check the value of > "sorted" and "cmp". The checking of "cmp" here would be redundant since > it has already checked it. > > [...] Applied, thanks! [1/1] ext4: Refactor breaking condition for xattr_find_entry() commit: 9d9076238fe9fe45257f298bf51b35aa796cf0f1 Best regards, -- Theodore Ts'o <tytso@xxxxxxx>