From b25694320f2bdd79de82f2003209b8229eafff36 Mon Sep 17 00:00:00 2001 From: Steve Dickson Date: Tue, 1 Dec 2009 07:20:43 -0500 Subject: exports: turn on pseudo exports If a pseudo root is not defined in the export file, the v4root_needed global variable will be set, signaling v4root_set() create the dynamic pseudo root. Signed-off-by: Steve Dickson --- utils/mountd/auth.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'utils/mountd/auth.c') diff --git a/utils/mountd/auth.c b/utils/mountd/auth.c index 5a7ff8c..2ed80bc 100644 --- a/utils/mountd/auth.c +++ b/utils/mountd/auth.c @@ -20,6 +20,7 @@ #include "exportfs.h" #include "mountd.h" #include "xmalloc.h" +#include "v4root.h" enum auth_error { @@ -102,6 +103,8 @@ auth_reload() memset(&my_client, 0, sizeof(my_client)); xtab_export_read(); check_useipaddr(); + v4root_set(); + ++counter; return counter; -- cgit