diff options
author | Christoph Hellwig <hch@lst.de> | 2023-05-23 11:40:19 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2023-06-19 14:59:29 +0300 |
commit | e91909aace336a182da20bcbe507995ac24f74bb (patch) | |
tree | 4c45b3ba625e7a697c43674e7c59f7e68d12680e /fs/btrfs/dev-replace.c | |
parent | 85724171b302914bb8999b9df091fd4616a36eb7 (diff) | |
download | linux-e91909aace336a182da20bcbe507995ac24f74bb.tar.xz |
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 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions