From c0bacbb67aa75f0e88640fae0dfa82702f40d3ef Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Thu, 22 Feb 2007 16:21:22 +1100 Subject: [PATCH] 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 --- support/nfs/exports.c | 6 +++--- 1 file 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); -- 2.39.5