summaryrefslogtreecommitdiffstats
path: root/support/nfs
diff options
context:
space:
mode:
Diffstat (limited to 'support/nfs')
-rw-r--r--support/nfs/exports.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/support/nfs/exports.c b/support/nfs/exports.c
index 6b56708..525e5b1 100644
--- a/support/nfs/exports.c
+++ b/support/nfs/exports.c
@@ -641,6 +641,12 @@ bad_option:
while (isblank(*cp))
cp++;
}
+ /*
+ * Turn on nohide which will allow this export to cross over
+ * the 'mount --bind' mount point.
+ */
+ if (ep->e_fslocdata)
+ ep->e_flags |= NFSEXP_NOHIDE;
for (p = ep->e_secinfo; p->flav; p++)
p->flags |= ep->e_flags & ~NFSEXP_SECINFO_FLAGS;