Patchwork nfs-export-root: add explict no_subtree-check to suppress warning

login
register
mail settings
Submitter Saul Wold
Date Oct. 8, 2012, 1:07 a.m.
Message ID <1349658431-18779-1-git-send-email-sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/37895/
State Accepted
Commit 5bb773c967ec77735e85e830b34a4fb3dfd9980e
Headers show

Comments

Saul Wold - Oct. 8, 2012, 1:07 a.m.
exportfs: /etc/exports [1]: Neither 'subtree_check' or 'no_subtree_check' specified for export "*:/".
  Assuming default behaviour ('no_subtree_check').
  NOTE: this default has changed since nfs-utils version 1.0.x

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 .../devel-config/nfs-export-root.bb                |    2 ++
 .../devel-config/nfs-export-root/exports           |    2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

Patch

diff --git a/meta/recipes-devtools/devel-config/nfs-export-root.bb b/meta/recipes-devtools/devel-config/nfs-export-root.bb
index 41259ac..fff60ca 100644
--- a/meta/recipes-devtools/devel-config/nfs-export-root.bb
+++ b/meta/recipes-devtools/devel-config/nfs-export-root.bb
@@ -3,6 +3,8 @@  LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
                     file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
 
+PR = "r1"
+
 SRC_URI = "file://exports"
 
 S = "${WORKDIR}"
diff --git a/meta/recipes-devtools/devel-config/nfs-export-root/exports b/meta/recipes-devtools/devel-config/nfs-export-root/exports
index b7257aa..1353c5a 100644
--- a/meta/recipes-devtools/devel-config/nfs-export-root/exports
+++ b/meta/recipes-devtools/devel-config/nfs-export-root/exports
@@ -1 +1 @@ 
-/ *(rw,no_root_squash,async)
+/ *(rw,no_root_squash,async,no_subtree_check)