History

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.

Christoph Hellwig committed 11 years ago

Commit f3f03331 parent 78902032 files · +2 −2Browse files

Showing the changes to include/uapi/linux (1 of 2 files). Show all

Unified · Split

include/uapi/linux/nfsd/export.h+1−1
@@ -47,7 +47,7 @@ · 46 unmodified lines
4747 * exported filesystem.
4848 */
4949 #define NFSEXP_V4ROOT 0x10000
50−#define NFSEXP_NOPNFS 0x20000
50+#define NFSEXP_PNFS 0x20000
5151
5252 /* All flags that we claim to support. (Note we don't support NOACL.) */
5353 #define NFSEXP_ALLFLAGS 0x3FE7F