Skip to content

Commit 9b3075c

Browse files
Christoph HellwigJ. Bruce Fields
authored andcommitted
nfsd: add NFSEXP_PNFS to the exflags array
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
1 parent 1ec8c0c commit 9b3075c

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

‎fs/nfsd/export.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1158,6 +1158,7 @@ static struct flags {
11581158
{ NFSEXP_NOSUBTREECHECK, {"no_subtree_check", ""}},
11591159
{ NFSEXP_NOAUTHNLM, {"insecure_locks", ""}},
11601160
{ NFSEXP_V4ROOT, {"v4root", ""}},
1161+
{ NFSEXP_PNFS, {"pnfs", ""}},
11611162
{ 0, {"", ""}}
11621163
};
11631164

‎include/uapi/linux/nfsd/export.h‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@
2121

2222
/*
2323
* Export flags.
24+
*
25+
* Please update the expflags[] array in fs/nfsd/export.c when adding
26+
* a new flag.
2427
*/
2528
#define NFSEXP_READONLY 0x0001
2629
#define NFSEXP_INSECURE_PORT 0x0002

0 commit comments

Comments
 (0)