HomeFreeBSD

ext4_ext_tree_init: correct memset initialization

Description

ext4_ext_tree_init: correct memset initialization

gcc -Wmemset-elt-size diagnosed this. The code was only initializing
1/4 of the array. However, it was actually harmless, as the only caller
had done an M_ZERO allocation anyway.

Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D45701

Details

Provenance
rlibbyAuthored on Jun 25 2024, 5:41 PM
Reviewer
markj
Differential Revision
D45701: ext4_ext_tree_init: correct memset initialization
Parents
rG07cc7ea7386c: libmsun: remove duplicates after cdefs.h added inline to __always_inline
Branches
Unknown
Tags
Unknown