HomeFreeBSD

vfs_bio: initialize pctries

Description

vfs_bio: initialize pctries

bufobj_init depends on fields bo_dirty.bv_root and bo_clean.bv_root
being zeroed on entry and pctrie_init zeroing whatever is passed to
them, and so does not call pctrie_init for either of them. That fails
if pctrie_init ever changes to do something other that zeroing data,
so add explicit calls to them.

Reviewed by: cem
Differential Revision: https://reviews.freebsd.org/D40978

Details

Provenance
dougmAuthored on Jul 13 2023, 6:28 PM
Reviewer
cem
Differential Revision
D40978: vfs_bio: initialize pctries
Parents
rG6fc7fc2dbb2b: pfsync: transport over IPv6
Branches
Unknown
Tags
Unknown