diff options
| author | Christoph Hellwig <[email protected]> | 2023-05-23 10:40:19 +0200 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2023-06-19 13:59:29 +0200 |
| commit | e91909aace336a182da20bcbe507995ac24f74bb (patch) | |
| tree | 4c45b3ba625e7a697c43674e7c59f7e68d12680e /tools/perf/scripts/python/task-analyzer.py | |
| parent | 85724171b302914bb8999b9df091fd4616a36eb7 (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 <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions