All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] nfs-utils 1 of 10  - Removed sync warning on readonly exports
@ 2005-09-23 14:44 Steve Dickson
  2005-10-06  5:30 ` Neil Brown
  0 siblings, 1 reply; 3+ messages in thread
From: Steve Dickson @ 2005-09-23 14:44 UTC (permalink / raw)
  To: nfs

[-- Attachment #1: Type: text/plain, Size: 222 bytes --]

The following 10 patches are a result of bugs that were reported
to us and have been fixed in various Red Hat releases.
I'm hopeful that at least some of them will incorporated into
the SourceForge CVS tree....

steved.



[-- Attachment #2: nfs-utils-1.0.6-expwarn.patch --]
[-- Type: text/x-patch, Size: 610 bytes --]

Removed sync warning on readonly exports.

Signed-off-by: Steve Dickson <steved@redhat.com>
---------
--- src/support/nfs/exports.c.org	2003-08-06 01:19:42.000000000 -0400
+++ src/support/nfs/exports.c	2004-06-14 06:48:29.000000000 -0400
@@ -442,7 +442,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",

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-10-06 13:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-23 14:44 [PATCH] nfs-utils 1 of 10 - Removed sync warning on readonly exports Steve Dickson
2005-10-06  5:30 ` Neil Brown
2005-10-06 13:45   ` Steve Dickson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.