X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=support%2Fnfs%2Fexports.c;fp=support%2Fnfs%2Fexports.c;h=525e5b1d4286c997dcdb6f7e30daa7c0d8e02e0d;hp=6b567081123edee90f976fd508847df6381ff4c6;hb=ec637de16210c1c6fcb3a0df34d7889592f577dc;hpb=5c4f17a97b1260e9c564ddd9887afaf50a26de9d 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;