Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bcache: memset on stack variables in bch_btree_check() and bch_sector…
…s_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]>
- Loading branch information