Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (dd8bb9b3569e5be39f49fee17a647cda850168f1)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Vlad Glagolev <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (dd8bb9b3569e5be39f49fee17a647cda850168f1)
  • Date: Wed, 22 Jun 2011 20:03:23 -0500

GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:

net/nfs-utils/exportfs.patch | 21 +++++++++++++++++++++
1 files changed, 21 insertions(+)

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

Archive powered by MHonArc 2.6.24.

Top of Page