]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
btrfs: unify types for binary search variables
authorDavid Sterba <dsterba@suse.com>
Tue, 6 Jan 2026 16:20:25 +0000 (17:20 +0100)
committerDavid Sterba <dsterba@suse.com>
Tue, 7 Apr 2026 16:56:07 +0000 (18:56 +0200)
commita5b6b23c4572694da7b767a04826b06b10712bf0
tree85e1fe51ecf2794b896b7b2e4db6adc2dcb1d061
parent7e1e45a9e42efb77a44f331e5220cdc820a8d924
btrfs: unify types for binary search variables

The variables calculating where to jump next are using mixed in types
which requires some conversions on the instruction level. Using 'u32'
removes one call to 'movslq', making the main loop shorter.

This complements type conversion done in a724f313f84beb ("btrfs: do
unsigned integer division in the extent buffer binary search loop")

Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.c