New commits:
commit dd8bb9b3569e5be39f49fee17a647cda850168f1
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>
nfs-utils: actually add the patch
diff --git a/net/nfs-utils/exportfs.patch b/net/nfs-utils/exportfs.patch
new file mode 100644
index 0000000..845ea15
--- /dev/null
+++ b/net/nfs-utils/exportfs.patch
@@ -0,0 +1,21 @@
+--- support/nfs/exports.c.orig
++++ support/nfs/exports.c
+@@ -142,9 +142,14 @@ getexportent(int fromkernel, int fromexports)
+ return NULL;
+ }
+ first = 0;
+-
+- /* Check for default options */
+- if (exp[0] == '-') {
++
++ /*
++ * Check for default options. The kernel will never have default
++ * options in /proc/fs/nfs/exports, however due to the initial '-' in
++ * the -test-client- string from the test export we have to check that
++ * we're not reading from the kernel.
++ */
++ if (exp[0] == '-' && !fromkernel) {
+ if (parseopts(exp + 1, &def_ee, 0, &has_default_subtree_opts)
< 0)
+ return NULL;
+
+
[SM-Commit] GIT changes to master grimoire by Vlad Glagolev (dd8bb9b3569e5be39f49fee17a647cda850168f1),
Vlad Glagolev, 06/22/2011