X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=support%2Fnfs%2Fexports.c;h=963801583e57ba99adeacfd434379453ad3bad3b;hp=294e1c90986e443f9e0dacf4d9e4b9e190cdb7b6;hb=57d81b9f4c7f877d64aa7e8c5bddb852e1aa32ce;hpb=0b7f54e8954374ebb991ac851accde2c246ae9f8 diff --git a/support/nfs/exports.c b/support/nfs/exports.c index 294e1c9..9638015 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; @@ -541,8 +541,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);