diff options
author | 2016-12-04 23:26:38 -0600 | |
---|---|---|
committer | 2016-12-08 14:13:15 -0500 | |
commit | b446396b7482938c859bfaa42320026d158616ae (patch) | |
tree | 214d463d2ca567c8969a70b1255edc1c15b61947 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | dm space map metadata: skip useless memcpy in metadata_ll_init_index() (diff) | |
download | linux-dev-b446396b7482938c859bfaa42320026d158616ae.tar.xz linux-dev-b446396b7482938c859bfaa42320026d158616ae.zip |
dm space map: always set ev if sm_ll_mutate() succeeds
If no block was allocated or freed, sm_ll_mutate() wasn't setting
*ev, leaving the variable unitialized. sm_ll_insert(),
sm_disk_inc_block(), and sm_disk_new_block() all check ev to see
if there was an allocation event in sm_ll_mutate(), possibly
reading unitialized data.
If no allocation event occured, sm_ll_mutate() should set *ev
to SM_NONE.
Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
Acked-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions