mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-01-13 19:50:25 +03:00
libshare: nfs: fix unused, remove argsused
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes #12844
This commit is contained in:
parent
bfc1789703
commit
57bff80ebf
@ -249,6 +249,8 @@ fullerr:
|
|||||||
static boolean_t
|
static boolean_t
|
||||||
nfs_is_shared_cb(void *userdata, char *line, boolean_t found_mountpoint)
|
nfs_is_shared_cb(void *userdata, char *line, boolean_t found_mountpoint)
|
||||||
{
|
{
|
||||||
|
(void) line;
|
||||||
|
|
||||||
boolean_t *found = userdata;
|
boolean_t *found = userdata;
|
||||||
*found = found_mountpoint;
|
*found = found_mountpoint;
|
||||||
return (!found_mountpoint);
|
return (!found_mountpoint);
|
||||||
|
@ -134,6 +134,7 @@ nfs_enable_share(sa_share_impl_t impl_share)
|
|||||||
static int
|
static int
|
||||||
nfs_disable_share_impl(sa_share_impl_t impl_share, FILE *tmpfile)
|
nfs_disable_share_impl(sa_share_impl_t impl_share, FILE *tmpfile)
|
||||||
{
|
{
|
||||||
|
(void) impl_share, (void) tmpfile;
|
||||||
return (SA_OK);
|
return (SA_OK);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -440,6 +440,7 @@ nfs_enable_share(sa_share_impl_t impl_share)
|
|||||||
static int
|
static int
|
||||||
nfs_disable_share_impl(sa_share_impl_t impl_share, FILE *tmpfile)
|
nfs_disable_share_impl(sa_share_impl_t impl_share, FILE *tmpfile)
|
||||||
{
|
{
|
||||||
|
(void) impl_share, (void) tmpfile;
|
||||||
return (SA_OK);
|
return (SA_OK);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user