diff options
author | наб <[email protected]> | 2022-02-16 02:38:43 +0100 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2022-02-18 09:34:03 -0800 |
commit | ef70eff1982228862ef9ad70f21b222cde06eb5e (patch) | |
tree | b75bba64f76ba24a1afe0d1f5b84136e126f0b28 /module/os/linux/zfs/zfs_acl.c | |
parent | 51c747de4330b1008593183de66a6b117185638a (diff) |
module: mark arguments used
Reviewed-by: Alejandro Colomar <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Ahelenia Ziemiańska <[email protected]>
Closes #13110
Diffstat (limited to 'module/os/linux/zfs/zfs_acl.c')
-rw-r--r-- | module/os/linux/zfs/zfs_acl.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/module/os/linux/zfs/zfs_acl.c b/module/os/linux/zfs/zfs_acl.c index 9f193e06f..1859ecd99 100644 --- a/module/os/linux/zfs/zfs_acl.c +++ b/module/os/linux/zfs/zfs_acl.c @@ -144,10 +144,10 @@ zfs_ace_v0_set_who(void *acep, uint64_t who) ((zfs_oldace_t *)acep)->z_fuid = who; } -/*ARGSUSED*/ static size_t zfs_ace_v0_size(void *acep) { + (void) acep; return (sizeof (zfs_oldace_t)); } @@ -163,10 +163,10 @@ zfs_ace_v0_mask_off(void) return (offsetof(zfs_oldace_t, z_access_mask)); } -/*ARGSUSED*/ static int zfs_ace_v0_data(void *acep, void **datap) { + (void) acep; *datap = NULL; return (0); } @@ -629,11 +629,11 @@ zfs_acl_next_ace(zfs_acl_t *aclp, void *start, uint64_t *who, return (NULL); } -/*ARGSUSED*/ static uint64_t zfs_ace_walk(void *datap, uint64_t cookie, int aclcnt, uint16_t *flags, uint16_t *type, uint32_t *mask) { + (void) aclcnt; zfs_acl_t *aclp = datap; zfs_ace_hdr_t *acep = (zfs_ace_hdr_t *)(uintptr_t)cookie; uint64_t who; @@ -1130,11 +1130,11 @@ done: return (error); } -/*ARGSUSED*/ void zfs_acl_data_locator(void **dataptr, uint32_t *length, uint32_t buflen, boolean_t start, void *userdata) { + (void) buflen; zfs_acl_locator_cb_t *cb = (zfs_acl_locator_cb_t *)userdata; if (start) { |