summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorLi Chen <chenl311@chinatelecom.cn>2025-11-11 20:13:36 +0800
committerMikulas Patocka <mpatocka@redhat.com>2025-11-18 19:02:08 +0100
commita6ee8422b4f2a591de010f4e60471060b13d4170 (patch)
tree6e63c2a9661c33a000622882f780aa3c4eafb790 /tools/perf/scripts/python/export-to-postgresql.py
parent840b80af74fda9672f111023ca17ad7875427f13 (diff)
downloadkernel-a6ee8422b4f2a591de010f4e60471060b13d4170.tar.gz
dm-pcache: zero cache_info before default init
pcache_meta_find_latest() leaves whatever it last copied into the caller’s buffer even when it returns NULL. For cache_info_init(), that meant cache->cache_info could still contain CRC-bad garbage when no valid metadata exists, leading later initialization paths to read bogus flags. Explicitly memset cache->cache_info in cache_info_init_default() so new-cache paths start from a clean slate. The default sequence number assignment becomes redundant with this reset, so it drops out. Signed-off-by: Li Chen <chenl311@chinatelecom.cn> Reviewed-by: Zheng Gu <cengku@gmail.com> Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
d>staging: iio: adc: ad7280a: use crc8.h API to build crc tableSlawomir Stepien 2018-10-21staging: iio: adc: ad7280a: handle error from __ad7280_read32()Slawomir Stepien 2018-08-19drivers: iio: Update MODULE AUTHOR email addressMichael Hennerich 2017-08-22staging:iio:adc: drop assign iio_info.driver_moduleJonathan Cameron 2017-07-22Staging: iio: adc: ad7280a.c: Fixed Macro argument reuseJaya Durga 2017-03-25staging: iio: adc: ad7280a: fix permission coding style issueOlivier Leveque 2017-03-19staging: iio: ad7280: Replace mlock with driver private lockGargi Sharma 2016-10-03Staging: iio: ad7280a: constify attribute_group structuresBhumika Goyal 2016-09-27Staging:iio:adc:ad7280a: constify attribute_group structuresBhumika Goyal