linux_dsm_epyc7002/drivers/md/persistent-data
Benjamin Marzinski b446396b74 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>
2016-12-08 14:13:15 -05:00
..
dm-array.c dm array: remove a dead assignment in populate_ablock_with_values() 2016-12-08 14:13:09 -05:00
dm-array.h dm array: introduce cursor api 2016-09-22 11:15:04 -04:00
dm-bitset.c
dm-bitset.h
dm-block-manager.c dm block manager: make block locking optional 2016-11-14 15:17:47 -05:00
dm-block-manager.h dm persistent data: eliminate unnecessary return values 2015-10-31 19:06:02 -04:00
dm-btree-internal.h dm persistent data: eliminate unnecessary return values 2015-10-31 19:06:02 -04:00
dm-btree-remove.c - Revert a dm-multipath change that caused a regression for unprivledged 2015-11-04 21:19:53 -08:00
dm-btree-spine.c dm persistent data: eliminate unnecessary return values 2015-10-31 19:06:02 -04:00
dm-btree.c dm btree: introduce cursor api 2016-09-22 11:15:04 -04:00
dm-btree.h dm btree: introduce cursor api 2016-09-22 11:15:04 -04:00
dm-persistent-data-internal.h
dm-space-map-common.c dm space map: always set ev if sm_ll_mutate() succeeds 2016-12-08 14:13:15 -05:00
dm-space-map-common.h
dm-space-map-disk.c dm space map disk: fix sm_disk_count_is_more_than_one() 2015-02-13 19:32:58 -05:00
dm-space-map-disk.h
dm-space-map-metadata.c dm space map metadata: fix 'struct sm_metadata' leak on failed create 2016-12-08 14:13:14 -05:00
dm-space-map-metadata.h
dm-space-map.h
dm-transaction-manager.c dm persistent data: eliminate unnecessary return values 2015-10-31 19:06:02 -04:00
dm-transaction-manager.h dm persistent data: eliminate unnecessary return values 2015-10-31 19:06:02 -04:00
Kconfig dm bufio: store stacktrace in buffers to help find buffer leaks 2015-12-10 10:38:58 -05:00
Makefile