Commit 9b3075c5 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by J. Bruce Fields

nfsd: add NFSEXP_PNFS to the exflags array

Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
parent 1ec8c0c4
...@@ -1158,6 +1158,7 @@ static struct flags { ...@@ -1158,6 +1158,7 @@ static struct flags {
{ NFSEXP_NOSUBTREECHECK, {"no_subtree_check", ""}}, { NFSEXP_NOSUBTREECHECK, {"no_subtree_check", ""}},
{ NFSEXP_NOAUTHNLM, {"insecure_locks", ""}}, { NFSEXP_NOAUTHNLM, {"insecure_locks", ""}},
{ NFSEXP_V4ROOT, {"v4root", ""}}, { NFSEXP_V4ROOT, {"v4root", ""}},
{ NFSEXP_PNFS, {"pnfs", ""}},
{ 0, {"", ""}} { 0, {"", ""}}
}; };
......
...@@ -21,6 +21,9 @@ ...@@ -21,6 +21,9 @@
/* /*
* Export flags. * Export flags.
*
* Please update the expflags[] array in fs/nfsd/export.c when adding
* a new flag.
*/ */
#define NFSEXP_READONLY 0x0001 #define NFSEXP_READONLY 0x0001
#define NFSEXP_INSECURE_PORT 0x0002 #define NFSEXP_INSECURE_PORT 0x0002
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment