diff options
author | Christoph Hellwig <hch@lst.de> | 2015-03-30 16:46:29 (GMT) |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2015-03-30 20:05:26 (GMT) |
commit | f3f03330dee0526d82f2a0fd1a79d207ed1ac439 (patch) | |
tree | 2f7ea57e37e8773da62c159164c0f41ddb0aa766 /include/uapi | |
parent | 7890203da2cb9b861dae9bdb88f882f3e03baec9 (diff) | |
download | linux-f3f03330dee0526d82f2a0fd1a79d207ed1ac439.tar.xz |
nfsd: require an explicit option to enable pNFS
Turns out sending out layouts to any client is a bad idea if they
can't get at the storage device, so require explicit admin action
to enable pNFS.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'include/uapi')
-rw-r--r-- | include/uapi/linux/nfsd/export.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/linux/nfsd/export.h b/include/uapi/linux/nfsd/export.h index 4742f2c..d3bd6ffe 100644 --- a/include/uapi/linux/nfsd/export.h +++ b/include/uapi/linux/nfsd/export.h @@ -47,7 +47,7 @@ * exported filesystem. */ #define NFSEXP_V4ROOT 0x10000 -#define NFSEXP_NOPNFS 0x20000 +#define NFSEXP_PNFS 0x20000 /* All flags that we claim to support. (Note we don't support NOACL.) */ #define NFSEXP_ALLFLAGS 0x3FE7F |