summaryrefslogtreecommitdiffstats
path: root/support/nfs
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2007-02-22 16:21:22 +1100
committerNeil Brown <neilb@suse.de>2007-02-22 16:21:22 +1100
commitc0bacbb67aa75f0e88640fae0dfa82702f40d3ef (patch)
treec85b70936e800c9d8232564afa1a1a9d38d778f6 /support/nfs
parent0119db87190ffa3c304529edd1edfd9ae3e2cf0d (diff)
downloadnfs-utils-c0bacbb67aa75f0e88640fae0dfa82702f40d3ef.tar.gz
nfs-utils-c0bacbb67aa75f0e88640fae0dfa82702f40d3ef.tar.xz
nfs-utils-c0bacbb67aa75f0e88640fae0dfa82702f40d3ef.zip
Change default from subtree_check to no_subtree_check
subtree_check causes more problems than it is worth, and it isn't worth much in the first place.. Signed-off-by: Neil Brown <neilb@suse.de>
Diffstat (limited to 'support/nfs')
-rw-r--r--support/nfs/exports.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/support/nfs/exports.c b/support/nfs/exports.c
index 31b38c3..60cfe48 100644
--- a/support/nfs/exports.c
+++ b/support/nfs/exports.c
@@ -32,7 +32,7 @@
#include "xio.h"
#define EXPORT_DEFAULT_FLAGS \
- (NFSEXP_READONLY|NFSEXP_ROOTSQUASH|NFSEXP_GATHERED_WRITES)
+ (NFSEXP_READONLY|NFSEXP_ROOTSQUASH|NFSEXP_GATHERED_WRITES|NFSEXP_NOSUBTREECHECK)
int export_errno;
@@ -537,8 +537,8 @@ bad_option:
out:
if (warn && !had_subtree_opt)
xlog(L_WARNING, "%s [%d]: Neither 'subtree_check' or 'no_subtree_check' specified for export \"%s:%s\".\n"
- " Assuming default behaviour ('subtree_check').\n"
- " NOTE: this default will change with nfs-utils version 1.1.0\n",
+ " Assuming default behaviour ('no_subtree_check').\n"
+ " NOTE: this default has changed since nfs-utils version 1.0.x\n",
flname, flline,
ep->e_hostname, ep->e_path);