diff options
| author | Christoph Hellwig <hch@lst.de> | 2023-05-23 10:40:19 +0200 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2023-06-19 13:59:29 +0200 |
| commit | e91909aace336a182da20bcbe507995ac24f74bb (patch) | |
| tree | 4c45b3ba625e7a697c43674e7c59f7e68d12680e /tools/perf/scripts/python/task-analyzer.py | |
| parent | btrfs: fix the btrfs_get_global_root return value (diff) | |
| download | linux-e91909aace336a182da20bcbe507995ac24f74bb.tar.gz linux-e91909aace336a182da20bcbe507995ac24f74bb.zip | |
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/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
