aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/disk-io.c
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2021-11-23 09:23:42 +0200
committerDavid Sterba <dsterba@suse.com>2022-01-03 15:09:46 +0100
commitf1a8fc626586fcc62dd7eb44ebeddb4517784015 (patch)
tree8196ea16f7306c21945ab51d5ebd705fe2dcc902 /fs/btrfs/disk-io.c
parentbtrfs: don't check stripe length if the profile is not stripe based (diff)
downloadlinux-dev-f1a8fc626586fcc62dd7eb44ebeddb4517784015.tar.xz
linux-dev-f1a8fc626586fcc62dd7eb44ebeddb4517784015.zip
btrfs: eliminate if in main loop in tree_search_offset
Reshuffle the code inside the first loop of tree_search_offset so that one if() is eliminated and the becomes more linear. Reviewed-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/disk-io.c')
0 files changed, 0 insertions, 0 deletions