summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2023-05-23 10:40:19 +0200
committerDavid Sterba <dsterba@suse.com>2023-06-19 13:59:29 +0200
commite91909aace336a182da20bcbe507995ac24f74bb (patch)
tree4c45b3ba625e7a697c43674e7c59f7e68d12680e /tools/perf/scripts/python
parent85724171b302914bb8999b9df091fd4616a36eb7 (diff)
btrfs: convert btrfs_get_global_root to use a switch statement
Use a switch statement instead of an endless chain of if statements to make the code a little cleaner. Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions