aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_fortify/write_overflow-strlcpy-src.c
diff options
context:
space:
mode:
authorDavid Sterba <[email protected]>2025-09-17 17:53:55 +0000
committerDavid Sterba <[email protected]>2025-09-23 06:49:26 +0000
commitcc53bd2085c8fa7b199a9a8e10e634b62a6d3fa8 (patch)
treee109a51a63115104c3769dff9a9beac8acec879b /lib/test_fortify/write_overflow-strlcpy-src.c
parentbtrfs: add unlikely annotations to branches leading to EUCLEAN (diff)
downloadkernel-cc53bd2085c8fa7b199a9a8e10e634b62a6d3fa8.tar.gz
kernel-cc53bd2085c8fa7b199a9a8e10e634b62a6d3fa8.zip
btrfs: add unlikely annotations to branches leading to EIO
The unlikely() annotation is a static prediction hint that compiler may use to reorder code out of hot path. We use it elsewhere (namely tree-checker.c) for error branches that almost never happen, where EIO is one of them. Reviewed-by: Filipe Manana <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions