diff options
author | 2015-04-01 01:37:05 -0700 | |
---|---|---|
committer | 2015-04-03 10:00:59 -0400 | |
commit | 9b3075c59f858d64478f46a15daa6ecda3cf2318 (patch) | |
tree | 116ceb0d62026cfe7f9540b6fda8186382ed6368 | |
parent | nfsd: Remove duplicate macro define for max sec label length (diff) | |
download | wireguard-linux-9b3075c59f858d64478f46a15daa6ecda3cf2318.tar.xz wireguard-linux-9b3075c59f858d64478f46a15daa6ecda3cf2318.zip |
nfsd: add NFSEXP_PNFS to the exflags array
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to '')
-rw-r--r-- | fs/nfsd/export.c | 1 | ||||
-rw-r--r-- | include/uapi/linux/nfsd/export.h | 3 |
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 { { NFSEXP_NOSUBTREECHECK, {"no_subtree_check", ""}}, { NFSEXP_NOAUTHNLM, {"insecure_locks", ""}}, { NFSEXP_V4ROOT, {"v4root", ""}}, + { NFSEXP_PNFS, {"pnfs", ""}}, { 0, {"", ""}} }; 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 @@ /* * Export flags. + * + * Please update the expflags[] array in fs/nfsd/export.c when adding + * a new flag. */ #define NFSEXP_READONLY 0x0001 #define NFSEXP_INSECURE_PORT 0x0002 |