summaryrefslogtreecommitdiffstats
path: root/Documentation/kprobes.txt
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2019-09-10 15:40:17 +0800
committerDavid Sterba <dsterba@suse.com>2019-11-18 12:46:46 +0100
commitf624d976081d371b3dea65935501d8d9f142d5df (patch)
treed1623bf492170a7bf69fb33b2cdc26b063e1fd2b /Documentation/kprobes.txt
parent71bf92a9b8777635fede96eb4ab3b5b7bf310159 (diff)
downloadlinux-f624d976081d371b3dea65935501d8d9f142d5df.tar.gz
linux-f624d976081d371b3dea65935501d8d9f142d5df.tar.bz2
linux-f624d976081d371b3dea65935501d8d9f142d5df.zip
btrfs: ctree: Reduce one indent level for btrfs_search_slot()
In btrfs_search_slot(), we something like: if (level != 0) { /* Do search inside tree nodes*/ } else { /* Do search inside tree leaves */ goto done; } This caused extra indent for tree node search code. Change it to something like: if (level == 0) { /* Do search inside tree leaves */ goto done' } /* Do search inside tree nodes */ So we have more space to maneuver our code, this is especially useful as the tree nodes search code is more complex than the leaves search code. Reviewed-by: Anand Jain <anand.jain@oracle.com> Signed-off-by: Qu Wenruo <wqu@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'Documentation/kprobes.txt')
0 files changed, 0 insertions, 0 deletions