diff options
author | Steve Dickson <steved@redhat.com> | 2009-12-01 07:20:43 -0500 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2010-01-13 15:39:14 -0500 |
commit | b25694320f2bdd79de82f2003209b8229eafff36 (patch) | |
tree | 1bf73d05a1b538e63713345ee01dafb5bf89f87e /utils/mountd/auth.c | |
parent | de108c531e29ba936a68a6efb99095ad6d6cec8f (diff) | |
download | nfs-utils-b25694320f2bdd79de82f2003209b8229eafff36.tar.gz nfs-utils-b25694320f2bdd79de82f2003209b8229eafff36.tar.xz nfs-utils-b25694320f2bdd79de82f2003209b8229eafff36.zip |
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 <steved@redhat.com>
Diffstat (limited to 'utils/mountd/auth.c')
-rw-r--r-- | utils/mountd/auth.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; |