diff options
| author | Coly Li <[email protected]> | 2022-05-27 23:28:16 +0800 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2022-05-27 09:49:48 -0600 |
| commit | 7d6b902ea0e02b2a25c480edf471cbaa4ebe6b3c (patch) | |
| tree | 1916bed2cf5994d69a0042b71b78bca492bc22f1 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | b9684a71fca793213378dd410cd11675d973eaa1 (diff) | |
bcache: memset on stack variables in bch_btree_check() and bch_sectors_dirty_init()
The local variables check_state (in bch_btree_check()) and state (in
bch_sectors_dirty_init()) should be fully filled by 0, because before
allocating them on stack, they were dynamically allocated by kzalloc().
Signed-off-by: Coly Li <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions