aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorFilipe Manana <[email protected]>2023-11-21 13:38:34 +0000
committerDavid Sterba <[email protected]>2023-12-15 19:27:01 +0000
commit5031660a1b6a7ca7f9a1c55ebf0c157255826915 (patch)
tree75bd58dfe22c383743d564c88d192007937f0657 /fs/btrfs/dev-replace.c
parentbtrfs: remove unused btrfs_root::type (diff)
downloadkernel-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