aboutsummaryrefslogtreecommitdiffstats
path: root/module/zfs/brt.c
diff options
context:
space:
mode:
authorMark Johnston <[email protected]>2023-11-07 13:24:15 -0500
committerGitHub <[email protected]>2023-11-07 10:24:15 -0800
commitf4cd1bac723633a22adafc87c2a9f874fbcbc9d6 (patch)
treef0e079fd40c37d96b8a0c68fb0ea5b3bb99109b0 /module/zfs/brt.c
parent358ce2cf28a99095915deb883cbacd2d2e1f7b63 (diff)
Make abd_raidz_gen_iterate() pass an initialized pointer to the callback
Otherwise callbacks may trigger KMSAN violations in the dlen == 0 case. For example, raidz_syn_pq_abd() will compare an uninitialized pointer with itself before returning. This seems harmless, but let's maintain good hygiene and avoid passing uninitialized variables, if only to placate KMSAN. Reviewed-by: Alexander Motin <[email protected]> Reviewed-by: Allan Jude <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Mark Johnston <[email protected]> Closes #15491
Diffstat (limited to 'module/zfs/brt.c')
0 files changed, 0 insertions, 0 deletions