Files
linux/fs/bcachefs
Alan Huang 6846100b00 bcachefs: Remove incorrect __counted_by annotation
This actually reverts 86e92eeeb2 ("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 <mmpgouride@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2025-05-01 16:38:58 -04:00
..
2025-04-02 10:24:34 -04:00
2024-08-08 15:14:02 -04:00
2024-12-21 01:36:15 -05:00
2024-12-21 01:36:20 -05:00
2024-09-09 09:41:49 -04:00
2025-01-09 23:38:41 -05:00
2025-04-02 10:24:34 -04:00
2025-02-26 19:31:05 -05:00
2025-03-24 09:50:36 -04:00
2025-04-02 10:24:34 -04:00
2025-04-02 10:24:34 -04:00
2025-04-02 10:24:34 -04:00
2025-04-02 10:24:34 -04:00
2025-04-02 10:24:34 -04:00
2025-04-30 11:49:34 -04:00
2025-04-24 19:09:52 -04:00
2025-03-24 09:50:36 -04:00
2024-03-13 18:39:12 -04:00
2025-03-14 21:02:11 -04:00
2024-12-21 01:36:22 -05:00
2025-04-02 10:24:34 -04:00
2025-04-02 10:24:34 -04:00
2025-03-24 09:50:36 -04:00
2025-04-02 10:24:34 -04:00
2025-04-02 10:24:34 -04:00
2024-12-21 01:36:16 -05:00
2025-04-20 20:01:48 -04:00
2025-03-14 21:02:12 -04:00
2024-01-21 13:27:10 -05:00
2025-04-02 10:24:34 -04:00
2024-12-21 01:36:20 -05:00
2025-04-20 20:01:48 -04:00
2025-04-02 10:24:34 -04:00
2024-05-08 17:29:19 -04:00
2024-06-23 00:57:21 -04:00
2025-02-26 19:31:05 -05:00
2025-02-26 19:31:05 -05:00
2024-01-21 13:27:10 -05:00
2025-04-02 10:24:34 -04:00
2025-04-02 10:24:34 -04:00
2025-04-28 16:46:12 -04:00
2025-03-14 21:02:16 -04:00
2025-04-20 20:01:48 -04:00
2025-04-24 19:09:52 -04:00
2025-03-24 09:50:34 -04:00
2025-04-21 19:50:56 -04:00
2025-04-02 10:24:34 -04:00
2024-12-21 01:36:20 -05:00