[PATCH 015 of 20] knfsd: nfsd4: make readonly access depend on pseudoflavor
From: NeilBrown
Date: Mon Jul 09 2007 - 22:28:57 EST
From: J. Bruce Fields <bfields@xxxxxxxxxxxxxx>
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@xxxxxxxxxxxxxx>
Signed-off-by: Neil Brown <neilb@xxxxxxx>
### Diffstat output
./include/linux/nfsd/export.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff .prev/include/linux/nfsd/export.h ./include/linux/nfsd/export.h
--- .prev/include/linux/nfsd/export.h 2007-07-10 11:40:31.000000000 +1000
+++ ./include/linux/nfsd/export.h 2007-07-10 11:50:43.000000000 +1000
@@ -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__
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/