Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

nfsd: add NFSEXP_PNFS to the exflags array

Signed-off-by: J. Bruce Fields <bfields@redhat.com>

authored by

Christoph Hellwig and committed by
J. Bruce Fields
9b3075c5 1ec8c0c4

+4
+1
fs/nfsd/export.c
··· 1158 1158 { NFSEXP_NOSUBTREECHECK, {"no_subtree_check", ""}}, 1159 1159 { NFSEXP_NOAUTHNLM, {"insecure_locks", ""}}, 1160 1160 { NFSEXP_V4ROOT, {"v4root", ""}}, 1161 + { NFSEXP_PNFS, {"pnfs", ""}}, 1161 1162 { 0, {"", ""}} 1162 1163 }; 1163 1164
+3
include/uapi/linux/nfsd/export.h
··· 21 21 22 22 /* 23 23 * Export flags. 24 + * 25 + * Please update the expflags[] array in fs/nfsd/export.c when adding 26 + * a new flag. 24 27 */ 25 28 #define NFSEXP_READONLY 0x0001 26 29 #define NFSEXP_INSECURE_PORT 0x0002