diff options
| author | Kent Overstreet <kent.overstreet@linux.dev> | 2025-06-08 11:31:23 -0400 |
|---|---|---|
| committer | Kent Overstreet <kent.overstreet@linux.dev> | 2025-06-11 23:24:20 -0400 |
| commit | 205da7c026739d965e605d39001049c7b6728e87 (patch) | |
| tree | af8507f9cbf587a17021008a7a614a5d9bdeb698 /scripts/lib/kdoc/kdoc_re.py | |
| parent | bcachefs: Fix version checks in validate_bset() (diff) | |
| download | linux-205da7c026739d965e605d39001049c7b6728e87.tar.gz linux-205da7c026739d965e605d39001049c7b6728e87.zip | |
bcachefs: Don't trust sb->nr_devices in members_to_text()
We have to be able to print superblock sections even if they fail to
validate (for debugging), so we have to calculate the number of entries
from the field size.
Reported-by: syzbot+5138f00559ffb3cb3610@syzkaller.appspotmail.com
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions
