diff options
| author | Filipe Manana <[email protected]> | 2023-11-21 13:38:34 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2023-12-15 19:27:01 +0000 |
| commit | 5031660a1b6a7ca7f9a1c55ebf0c157255826915 (patch) | |
| tree | 75bd58dfe22c383743d564c88d192007937f0657 /fs/btrfs/dev-replace.c | |
| parent | btrfs: remove unused btrfs_root::type (diff) | |
| download | kernel-5031660a1b6a7ca7f9a1c55ebf0c157255826915.tar.gz kernel-5031660a1b6a7ca7f9a1c55ebf0c157255826915.zip | |
btrfs: mark sanity checks when getting chunk map as unlikely
When getting a chunk map, at btrfs_get_chunk_map(), we do some sanity
checks to verify that we found an extent map and that it includes the
requested logical address. These are never expected to fail, so mark
them as unlikely to make it more clear as well as to allow a compiler
to generate more efficient code.
Reviewed-by: Josef Bacik <[email protected]>
Signed-off-by: Filipe Manana <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions
