kernel_optimize_test/drivers/md/bcache
Coly Li 09c9902cd8 bcache: memset on stack variables in bch_btree_check() and bch_sectors_dirty_init()
commit 7d6b902ea0e02b2a25c480edf471cbaa4ebe6b3c upstream.

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 <colyli@suse.de>
Link: https://lore.kernel.org/r/20220527152818.27545-2-colyli@suse.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-07-02 16:39:23 +02:00
..
alloc.c
bcache.h
bset.c
bset.h
btree.c bcache: memset on stack variables in bch_btree_check() and bch_sectors_dirty_init() 2022-07-02 16:39:23 +02:00
btree.h bcache: improve multithreaded bch_btree_check() 2022-06-09 10:21:27 +02:00
closure.c
closure.h
debug.c
debug.h
extents.c
extents.h
features.c
features.h
io.c
journal.c bcache: avoid journal no-space deadlock by reserving 1 journal bucket 2022-06-09 10:21:28 +02:00
journal.h bcache: avoid journal no-space deadlock by reserving 1 journal bucket 2022-06-09 10:21:28 +02:00
Kconfig
Makefile
movinggc.c
request.c md: bcache: check the return value of kzalloc() in detached_dev_do_request() 2022-06-09 10:21:31 +02:00
request.h
stats.c
stats.h
super.c bcache: avoid journal no-space deadlock by reserving 1 journal bucket 2022-06-09 10:21:28 +02:00
sysfs.c
sysfs.h
trace.c
util.c
util.h
writeback.c bcache: memset on stack variables in bch_btree_check() and bch_sectors_dirty_init() 2022-07-02 16:39:23 +02:00
writeback.h bcache: improve multithreaded bch_sectors_dirty_init() 2022-06-09 10:21:27 +02:00