Page MenuHomeFreeBSD

ext4_ext_tree_init: correct memset initialization
ClosedPublic

Authored by rlibby on Sun, Jun 23, 3:59 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jun 27, 4:01 PM
Unknown Object (File)
Wed, Jun 26, 5:17 PM
Unknown Object (File)
Wed, Jun 26, 5:05 PM
Unknown Object (File)
Wed, Jun 26, 12:34 AM
Subscribers

Details

Summary

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.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable