diff options
| author | Filipe Manana <fdmanana@suse.com> | 2025-11-13 16:04:13 +0300 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2025-11-25 00:42:25 +0300 |
| commit | fad159f69edabac046c725cdecf22275199b2dd0 (patch) | |
| tree | 139328cfcdcf3e85cfb23939d5e9cb7c0a5d969b /tools/perf/scripts/python | |
| parent | 86d3dc812f1e9aea58fabe8fcd42023f54abcad0 (diff) | |
| download | linux-fad159f69edabac046c725cdecf22275199b2dd0.tar.xz | |
btrfs: add unlikely to critical error in btrfs_extend_item()
It's not expected to get a data size less than the leaf's free space,
which would lead to a leaf dump and BUG(), so tag the if statement's
expression as unlikely, hinting the compiler to potentially generate
better code.
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
