aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/nfsd/export.c1
-rw-r--r--include/uapi/linux/nfsd/export.h3
2 files changed, 4 insertions, 0 deletions
diff --git a/fs/nfsd/export.c b/fs/nfsd/export.c
index 2911f519fe64..900c3ae94adc 100644
--- a/fs/nfsd/export.c
+++ b/fs/nfsd/export.c
@@ -1158,6 +1158,7 @@ static struct flags {
1158 { NFSEXP_NOSUBTREECHECK, {"no_subtree_check", ""}}, 1158 { NFSEXP_NOSUBTREECHECK, {"no_subtree_check", ""}},
1159 { NFSEXP_NOAUTHNLM, {"insecure_locks", ""}}, 1159 { NFSEXP_NOAUTHNLM, {"insecure_locks", ""}},
1160 { NFSEXP_V4ROOT, {"v4root", ""}}, 1160 { NFSEXP_V4ROOT, {"v4root", ""}},
1161 { NFSEXP_PNFS, {"pnfs", ""}},
1161 { 0, {"", ""}} 1162 { 0, {"", ""}}
1162}; 1163};
1163 1164
diff --git a/include/uapi/linux/nfsd/export.h b/include/uapi/linux/nfsd/export.h
index d3bd6ffec041..0df7bd5d2fb1 100644
--- a/include/uapi/linux/nfsd/export.h
+++ b/include/uapi/linux/nfsd/export.h
@@ -21,6 +21,9 @@
21 21
22/* 22/*
23 * Export flags. 23 * Export flags.
24 *
25 * Please update the expflags[] array in fs/nfsd/export.c when adding
26 * a new flag.
24 */ 27 */
25#define NFSEXP_READONLY 0x0001 28#define NFSEXP_READONLY 0x0001
26#define NFSEXP_INSECURE_PORT 0x0002 29#define NFSEXP_INSECURE_PORT 0x0002