summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@citi.umich.edu>2010-01-12 20:08:24 -0500
committerSteve Dickson <steved@redhat.com>2010-01-13 15:39:14 -0500
commit1c0f9045bf479f38ec39ffa5c6a4c77a8fcabda8 (patch)
treedd8e954308352381e660f3cfe171857f8d667aea
parentb1e28d50c2cf1d52c68c771921fd01f2af1c0a3b (diff)
downloadnfs-utils-1c0f9045bf479f38ec39ffa5c6a4c77a8fcabda8.tar.gz
Revert "Automatically set 'nohide' on referral exports."nfs-utils-1-2-2-rc6
This partially reverts commit ec637de16210c1c6fcb3a0df34d7889592f577dc. Only NFSv4 clients will actually want to see referall points--others are better off just seeing an empty directory, that they can manually (or with automount) mount the appropriate filesystem on. So we want the kernel to automatically traverse only in the v4 case (as recent kernels do). Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
-rw-r--r--support/nfs/exports.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/support/nfs/exports.c b/support/nfs/exports.c
index 551fc0d..a93941c 100644
--- a/support/nfs/exports.c
+++ b/support/nfs/exports.c
@@ -641,12 +641,6 @@ bad_option:
cp++;
}
- /*
- * Turn on nohide which will allow this export to cross over
- * the 'mount --bind' mount point.
- */
- if (ep->e_fslocdata)
- setflags(NFSEXP_NOHIDE, active, ep);
fix_pseudoflavor_flags(ep);
ep->e_squids = squids;
ep->e_sqgids = sqgids;