mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 10:37:35 +03:00
acl: use uintptr_t for ace walker cookies
Avoid assuming that a pointer can fit in a uint64_t and use uintptr_t instead. 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
This commit is contained in:
committed by
Brian Behlendorf
parent
7309e94239
commit
d96303cb07
@@ -47,7 +47,7 @@ extern int acltrivial(const char *);
|
||||
extern void adjust_ace_pair(ace_t *pair, mode_t mode);
|
||||
extern void adjust_ace_pair_common(void *, size_t, size_t, mode_t);
|
||||
extern int ace_trivial_common(void *, int,
|
||||
uint64_t (*walk)(void *, uint64_t, int aclcnt, uint16_t *, uint16_t *,
|
||||
uintptr_t (*walk)(void *, uintptr_t, int aclcnt, uint16_t *, uint16_t *,
|
||||
uint32_t *mask));
|
||||
#if !defined(_KERNEL)
|
||||
extern acl_t *acl_alloc(acl_type_t);
|
||||
|
||||
Reference in New Issue
Block a user