aboutsummaryrefslogtreecommitdiffstats
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorAlan Huang <[email protected]>2025-05-01 20:01:31 +0000
committerKent Overstreet <[email protected]>2025-05-01 20:38:58 +0000
commit6846100b00d97d3d6f05766ae86a0d821d849e78 (patch)
treeafa76c12f415721ac1ba9d9562f48c7c1df8de20 /lib/debugobjects.c
parentbcachefs: add missing sched_annotate_sleep() (diff)
downloadkernel-6846100b00d97d3d6f05766ae86a0d821d849e78.tar.gz
kernel-6846100b00d97d3d6f05766ae86a0d821d849e78.zip
bcachefs: Remove incorrect __counted_by annotation
This actually reverts 86e92eeeb237 ("bcachefs: Annotate struct bch_xattr with __counted_by()"). After the x_name, there is a value. According to the disscussion[1], __counted_by assumes that the flexible array member contains exactly the amount of elements that are specified. Now there are users came across a false positive detection of an out of bounds write caused by the __counted_by here[2], so revert that. [1] https://lore.kernel.org/lkml/Zv8VDKWN1GzLRT-_@archlinux/T/#m0ce9541c5070146320efd4f928cc1ff8de69e9b2 [2] https://privatebin.net/?a0d4e97d590d71e1#9bLmp2Kb5NU6X6cZEucchDcu88HzUQwHUah8okKPReEt Signed-off-by: Alan Huang <[email protected]> Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions