mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
userspace: 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:
@@ -155,6 +155,7 @@ nfs_is_shared(sa_share_impl_t impl_share)
|
||||
static int
|
||||
nfs_validate_shareopts(const char *shareopts)
|
||||
{
|
||||
(void) shareopts;
|
||||
return (SA_OK);
|
||||
}
|
||||
|
||||
|
||||
@@ -47,6 +47,7 @@ static sa_fstype_t *smb_fstype;
|
||||
static int
|
||||
smb_enable_share(sa_share_impl_t impl_share)
|
||||
{
|
||||
(void) impl_share;
|
||||
fprintf(stderr, "No SMB support in FreeBSD yet.\n");
|
||||
return (SA_NOT_SUPPORTED);
|
||||
}
|
||||
@@ -56,6 +57,7 @@ smb_enable_share(sa_share_impl_t impl_share)
|
||||
static int
|
||||
smb_disable_share(sa_share_impl_t impl_share)
|
||||
{
|
||||
(void) impl_share;
|
||||
fprintf(stderr, "No SMB support in FreeBSD yet.\n");
|
||||
return (SA_NOT_SUPPORTED);
|
||||
}
|
||||
@@ -66,6 +68,7 @@ smb_disable_share(sa_share_impl_t impl_share)
|
||||
static int
|
||||
smb_validate_shareopts(const char *shareopts)
|
||||
{
|
||||
(void) shareopts;
|
||||
fprintf(stderr, "No SMB support in FreeBSD yet.\n");
|
||||
return (SA_NOT_SUPPORTED);
|
||||
}
|
||||
@@ -76,6 +79,7 @@ smb_validate_shareopts(const char *shareopts)
|
||||
static boolean_t
|
||||
smb_is_share_active(sa_share_impl_t impl_share)
|
||||
{
|
||||
(void) impl_share;
|
||||
return (B_FALSE);
|
||||
}
|
||||
|
||||
@@ -88,6 +92,7 @@ smb_is_share_active(sa_share_impl_t impl_share)
|
||||
static int
|
||||
smb_update_shareopts(sa_share_impl_t impl_share, const char *shareopts)
|
||||
{
|
||||
(void) impl_share, (void) shareopts;
|
||||
return (SA_OK);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user