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 @@ nfs_toggle_share(const char *lockfile, const char *exports,
|
||||
static boolean_t
|
||||
nfs_is_shared_cb(void *userdata, char *line, boolean_t found_mountpoint)
|
||||
{
|
||||
(void) line;
|
||||
|
||||
boolean_t *found = userdata;
|
||||
*found = found_mountpoint;
|
||||
return (!found_mountpoint);
|
||||
|
@ -134,6 +134,7 @@ nfs_enable_share(sa_share_impl_t impl_share)
|
||||
static int
|
||||
nfs_disable_share_impl(sa_share_impl_t impl_share, FILE *tmpfile)
|
||||
{
|
||||
(void) impl_share, (void) tmpfile;
|
||||
return (SA_OK);
|
||||
}
|
||||
|
||||
|
@ -440,6 +440,7 @@ nfs_enable_share(sa_share_impl_t impl_share)
|
||||
static int
|
||||
nfs_disable_share_impl(sa_share_impl_t impl_share, FILE *tmpfile)
|
||||
{
|
||||
(void) impl_share, (void) tmpfile;
|
||||
return (SA_OK);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user