From: Neil Brown Date: Thu, 22 Feb 2007 05:21:22 +0000 (+1100) Subject: Change default from subtree_check to no_subtree_check X-Git-Tag: nfs-utils-1-1-0-rc1~92 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=c0bacbb67aa75f0e88640fae0dfa82702f40d3ef;p=nfs-utils.git 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 --- 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);