summaryrefslogtreecommitdiffstats
path: root/support/nfs/exports.c
diff options
context:
space:
mode:
authorneilbrown <neilbrown>2005-10-06 05:20:19 +0000
committerneilbrown <neilbrown>2005-10-06 05:20:19 +0000
commitf73e7b9f69835d483cee95e6a20b6307b9d16b77 (patch)
tree3c6f5f0c0677f0bc30018b9619ea32ffc9efebb9 /support/nfs/exports.c
parentb51ebed58a610b3104e9f218d609715cd468b0ea (diff)
downloadnfs-utils-f73e7b9f69835d483cee95e6a20b6307b9d16b77.tar.gz
nfs-utils-f73e7b9f69835d483cee95e6a20b6307b9d16b77.tar.xz
nfs-utils-f73e7b9f69835d483cee95e6a20b6307b9d16b77.zip
Assorted changes from Steve Dickson
Diffstat (limited to 'support/nfs/exports.c')
-rw-r--r--support/nfs/exports.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/nfs/exports.c b/support/nfs/exports.c
index 43e68b1..1048c80 100644
--- a/support/nfs/exports.c
+++ b/support/nfs/exports.c
@@ -448,7 +448,7 @@ bad_option:
ep->e_nsqgids = nsqgids;
out:
- if (warn && !had_sync_opt)
+ if (warn && !had_sync_opt && !(ep->e_flags & NFSEXP_READONLY))
xlog(L_WARNING, "%s [%d]: No 'sync' or 'async' option specified for export \"%s:%s\".\n"
" Assuming default behaviour ('sync').\n"
" NOTE: this default has changed from previous versions\n",