Blame SOURCES/nfs-utils-1.3.0-exportfs-redundant.patch

fc3648
diff -up nfs-utils-1.3.0/support/nfs/exports.c.orig nfs-utils-1.3.0/support/nfs/exports.c
fc3648
--- nfs-utils-1.3.0/support/nfs/exports.c.orig	2017-02-27 18:24:26.485237519 -0500
fc3648
+++ nfs-utils-1.3.0/support/nfs/exports.c	2017-02-27 18:25:49.296652027 -0500
fc3648
@@ -197,7 +197,6 @@ static const struct secinfo_flag_display
fc3648
 	const char *set;
fc3648
 	const char *unset;
fc3648
 } secinfo_flag_displaymap[] = {
fc3648
-	{ NFSEXP_READONLY, "ro", "rw" },
fc3648
 	{ NFSEXP_INSECURE_PORT, "insecure", "secure" },
fc3648
 	{ NFSEXP_ROOTSQUASH, "root_squash", "no_root_squash" },
fc3648
 	{ NFSEXP_ALLSQUASH, "all_squash", "no_all_squash" },
fc3648
diff -up nfs-utils-1.3.0/utils/exportfs/exportfs.c.orig nfs-utils-1.3.0/utils/exportfs/exportfs.c
fc3648
--- nfs-utils-1.3.0/utils/exportfs/exportfs.c.orig	2017-02-27 18:24:26.429237915 -0500
fc3648
+++ nfs-utils-1.3.0/utils/exportfs/exportfs.c	2017-02-27 18:25:49.297652020 -0500
fc3648
@@ -814,20 +814,18 @@ dump(int verbose, int export_format)
fc3648
 				c = dumpopt(c, "rw");
fc3648
 			if (ep->e_flags & NFSEXP_ASYNC)
fc3648
 				c = dumpopt(c, "async");
fc3648
+			else
fc3648
+				c = dumpopt(c, "sync");
fc3648
 			if (ep->e_flags & NFSEXP_GATHERED_WRITES)
fc3648
 				c = dumpopt(c, "wdelay");
fc3648
+			else
fc3648
+				c = dumpopt(c, "no_wdelay");
fc3648
 			if (ep->e_flags & NFSEXP_NOHIDE)
fc3648
 				c = dumpopt(c, "nohide");
fc3648
+			else
fc3648
+				c = dumpopt(c, "hide");
fc3648
 			if (ep->e_flags & NFSEXP_CROSSMOUNT)
fc3648
 				c = dumpopt(c, "crossmnt");
fc3648
-			if (ep->e_flags & NFSEXP_INSECURE_PORT)
fc3648
-				c = dumpopt(c, "insecure");
fc3648
-			if (ep->e_flags & NFSEXP_ROOTSQUASH)
fc3648
-				c = dumpopt(c, "root_squash");
fc3648
-			else
fc3648
-				c = dumpopt(c, "no_root_squash");
fc3648
-			if (ep->e_flags & NFSEXP_ALLSQUASH)
fc3648
-				c = dumpopt(c, "all_squash");
fc3648
 			if (ep->e_flags & NFSEXP_NOSUBTREECHECK)
fc3648
 				c = dumpopt(c, "no_subtree_check");
fc3648
 			if (ep->e_flags & NFSEXP_NOAUTHNLM)