Commit b55b307
btrfs: change block mapping to switch/case in btrfs_map_block
Now that all the per-profile if/else statement blocks have been
converted to calls to helper the conversion to switch/case is
straightforward.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>1 parent a16fb8c commit b55b307
1 file changed
Lines changed: 16 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6575 | 6575 | | |
6576 | 6576 | | |
6577 | 6577 | | |
6578 | | - | |
| 6578 | + | |
| 6579 | + | |
6579 | 6580 | | |
6580 | | - | |
| 6581 | + | |
| 6582 | + | |
| 6583 | + | |
| 6584 | + | |
6581 | 6585 | | |
6582 | | - | |
| 6586 | + | |
| 6587 | + | |
6583 | 6588 | | |
6584 | | - | |
| 6589 | + | |
| 6590 | + | |
6585 | 6591 | | |
6586 | | - | |
| 6592 | + | |
| 6593 | + | |
| 6594 | + | |
6587 | 6595 | | |
6588 | 6596 | | |
6589 | 6597 | | |
6590 | 6598 | | |
6591 | | - | |
| 6599 | + | |
| 6600 | + | |
6592 | 6601 | | |
6593 | 6602 | | |
6594 | 6603 | | |
6595 | 6604 | | |
6596 | 6605 | | |
6597 | 6606 | | |
| 6607 | + | |
6598 | 6608 | | |
6599 | 6609 | | |
6600 | 6610 | | |
| |||
0 commit comments