mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-25 11:47:43 +03:00
libshare: nfs: commonify nfs_exports_[un]lock(), FILE_HEADER
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:
@@ -24,4 +24,9 @@
|
||||
* Copyright (c) 2011 Gunnar Beutner
|
||||
*/
|
||||
|
||||
#define FILE_HEADER "# !!! DO NOT EDIT THIS FILE MANUALLY !!!\n\n"
|
||||
|
||||
void libshare_nfs_init(void);
|
||||
|
||||
int nfs_exports_lock(const char *name);
|
||||
void nfs_exports_unlock(const char *name);
|
||||
|
||||
Reference in New Issue
Block a user