[PATCH 15/20] nfsd4: make readonly access depend on pseudoflavor
J. Bruce Fields
bfields at fieldses.org
Thu Jul 5 13:44:32 EDT 2007
From: J. Bruce Fields <bfields at citi.umich.edu>
Allow readonly access to vary depending on the pseudoflavor, using the
flag passed with each pseudoflavor in the export downcall.
Signed-off-by: "J. Bruce Fields" <bfields at citi.umich.edu>
---
include/linux/nfsd/export.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/linux/nfsd/export.h b/include/linux/nfsd/export.h
index a01f775..7e14924 100644
--- a/include/linux/nfsd/export.h
+++ b/include/linux/nfsd/export.h
@@ -43,7 +43,7 @@
#define NFSEXP_ALLFLAGS 0xFE3F
/* The flags that may vary depending on security flavor: */
-#define NFSEXP_SECINFO_FLAGS 0
+#define NFSEXP_SECINFO_FLAGS NFSEXP_READONLY
#ifdef __KERNEL__
--
1.5.2.rc3
More information about the NFSv4
mailing list