diff options
| author | Kent Overstreet <[email protected]> | 2025-06-08 15:31:23 +0000 |
|---|---|---|
| committer | Kent Overstreet <[email protected]> | 2025-06-12 03:24:20 +0000 |
| commit | 205da7c026739d965e605d39001049c7b6728e87 (patch) | |
| tree | af8507f9cbf587a17021008a7a614a5d9bdeb698 /rust/helpers/vmalloc.c | |
| parent | bcachefs: Fix version checks in validate_bset() (diff) | |
| download | kernel-205da7c026739d965e605d39001049c7b6728e87.tar.gz kernel-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: [email protected]
Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'rust/helpers/vmalloc.c')
0 files changed, 0 insertions, 0 deletions
