aboutsummaryrefslogtreecommitdiffstats
path: root/module/zfs/spa_misc.c
diff options
context:
space:
mode:
authorMark Johnston <[email protected]>2021-07-16 10:12:47 -0400
committerBrian Behlendorf <[email protected]>2021-07-26 11:53:47 -0700
commit13737094503a38a219f1ffe641cb257bb4b879cb (patch)
tree95f53cc4b37e386e857e9107d549e43d74820c3a /module/zfs/spa_misc.c
parent3a185275a0172ea8d2ed8b55c7b3524c52147395 (diff)
Initialize dn_next_type[] in the dnode constructor
It seems nothing ensures that this array is zeroed when a dnode is freshly allocated, so in principle it retains the values from the previous allocation. In practice it seems to be the case that the fields should end up zeroed, but we can zero the field anyway for consistency. This was found using KMSAN. Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Alexander Motin <[email protected]> Signed-off-by: Mark Johnston <[email protected]> Closes #12383
Diffstat (limited to 'module/zfs/spa_misc.c')
0 files changed, 0 insertions, 0 deletions