diff options
| author | Kent Overstreet <[email protected]> | 2023-05-22 14:39:44 -0400 |
|---|---|---|
| committer | Kent Overstreet <[email protected]> | 2023-10-22 17:10:01 -0400 |
| commit | 962210b281b327b236215c736b9f648369f0d39d (patch) | |
| tree | 3a63cfebef930d3e6d116e75f4ec2c49621961cc /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 0b438c5bfaebda3fdf6edc35d9572d4e2f66aef1 (diff) | |
bcachefs: Fix a buffer overrun in bch2_fs_usage_read()
We were copying the size of a struct bch_fs_usage_online to a struct
bch_fs_usage, which is 8 bytes smaller.
This adds some new helpers so we can do this correctly, and get rid of
some magic +1s too.
Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions