X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=support%2Fnfs%2Fexports.c;h=60cfe48d6f58038f294c4fb2d4c33739c85859dd;hp=31b38c3735b7be7776fac5cefd9e31cfa3775a53;hb=c0bacbb67aa75f0e88640fae0dfa82702f40d3ef;hpb=0119db87190ffa3c304529edd1edfd9ae3e2cf0d 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);