diff options
author | Richard Yao <[email protected]> | 2023-01-10 14:06:53 -0500 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2023-01-12 15:59:28 -0800 |
commit | c9c3ce79765d2f3c2714281f19dcaf711a090ac2 (patch) | |
tree | f6d57c7b864d5389a9aa06249724536010fe0122 /module/zfs/dsl_scan.c | |
parent | 7384ec65cd6b44511f0cdf54768bfe583ce14a27 (diff) |
Cleanup: Use kmem_zalloc() instead of memset() to zero memory
The Linux 5.16.14 kernel's coccicheck caught this. The semantic patch
that caught it was:
./scripts/coccinelle/api/alloc/zalloc-simple.cocci
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Richard Yao <[email protected]>
Closes #14372
Diffstat (limited to 'module/zfs/dsl_scan.c')
0 files changed, 0 insertions, 0 deletions