summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/libshare/libshare.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/libshare/libshare.c b/lib/libshare/libshare.c
index 6625a1b0c..ea59dcdbc 100644
--- a/lib/libshare/libshare.c
+++ b/lib/libshare/libshare.c
@@ -105,14 +105,6 @@ libshare_init(void)
{
libshare_nfs_init();
libshare_smb_init();
-
- /*
- * This bit causes /etc/dfs/sharetab to be updated before libzfs gets a
- * chance to read that file; this is necessary because the sharetab file
- * might be out of sync with the NFS kernel exports (e.g. due to reboots
- * or users manually removing shares)
- */
- sa_fini(sa_init(0));
}
static void