HomeFreeBSD

zfs_onexit_add_cb: make action_handle point to a uintptr_t

Description

zfs_onexit_add_cb: make action_handle point to a uintptr_t

Avoid assuming than a uint64_t can hold a pointer and reduce the
number of casts in the process.

Reviewed-by: Matthew Ahrens <mahrens@delphix.com>
Reviewed-by: Richard Yao <richard.yao@alumni.stonybrook.edu>
Signed-off-by: Brooks Davis <brooks.davis@sri.com>
Closes #14131

Details

Provenance
brooksAuthored on Oct 27 2022, 10:20 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Nov 3 2022, 4:52 PM
Parents
rGd96303cb0787: acl: use uintptr_t for ace walker cookies
Branches
Unknown
Tags
Unknown