mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-25 03:37:45 +03:00
module: mark arguments used
Reviewed-by: Alejandro Colomar <alx.manpages@gmail.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes #13110
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user