HomeFreeBSD

Remove bad kmem_free() oversight from previous zfsdev_state_list patch

Description

Remove bad kmem_free() oversight from previous zfsdev_state_list patch

I forgot to remove the corresponding kmem_free() from zfs_kmod_fini() in
9a14ce43c3d6a9939804215bbbe66de5115ace42. Clang's static analyzer did
not complain, but the Coverity scan that was run after the patch was
merged did.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Tino Reichardt <milky-zfs@mcmilk.de>
Signed-off-by: Richard Yao <richard.yao@alumni.stonybrook.edu>
Reported-by: Coverity (CID-1535275)
Closes #14556

Details

Provenance
Richard Yao <richard.yao@alumni.stonybrook.edu>Authored on Mar 1 2023, 9:20 PM
GitHub <noreply@github.com>Committed on Mar 1 2023, 9:20 PM
Parents
rGdd108f5d73e2: Linux: zfs_fillpage() should handle partial pages from end of file
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rG9fd5fedc677f: Remove bad kmem_free() oversight from previous zfsdev_state_list patch (authored by Richard Yao <richard.yao@alumni.stonybrook.edu>).Mar 1 2023, 9:20 PM