mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-27 04:32:16 +03:00
libshare: nfs: commonify nfs_enable_share()
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: George Wilson <gwilson@delphix.com> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes #11886
This commit is contained in:
+3
-8
@@ -30,12 +30,7 @@
|
||||
|
||||
void libshare_nfs_init(void);
|
||||
|
||||
int nfs_exports_lock(const char *name);
|
||||
void nfs_exports_unlock(const char *name);
|
||||
|
||||
char *nfs_init_tmpfile(const char *prefix, const char *mdir);
|
||||
int nfs_fini_tmpfile(const char *exports, char *tmpfile);
|
||||
|
||||
int nfs_copy_entries(char *filename, const char *mountpoint);
|
||||
int nfs_disable_share_impl(const char *lockfile, const char *exports,
|
||||
const char *expdir, sa_share_impl_t impl_share);
|
||||
int nfs_toggle_share(const char *lockfile, const char *exports,
|
||||
const char *expdir, sa_share_impl_t impl_share,
|
||||
int(*cbk)(sa_share_impl_t impl_share, char *filename));
|
||||
|
||||
Reference in New Issue
Block a user