nfsd: add NFSEXP_PNFS to the exflags array
authorChristoph Hellwig <hch@infradead.org>
Wed, 1 Apr 2015 08:37:05 +0000 (01:37 -0700)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 3 Apr 2015 14:00:59 +0000 (10:00 -0400)
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/export.c
include/uapi/linux/nfsd/export.h

index 2911f519fe646f147ffd72fbca1959c401acba42..900c3ae94adc8d7d1a13fce915c1d6557c21cf44 100644 (file)
@@ -1158,6 +1158,7 @@ static struct flags {
        { NFSEXP_NOSUBTREECHECK, {"no_subtree_check", ""}},
        { NFSEXP_NOAUTHNLM, {"insecure_locks", ""}},
        { NFSEXP_V4ROOT, {"v4root", ""}},
+       { NFSEXP_PNFS, {"pnfs", ""}},
        { 0, {"", ""}}
 };
 
index d3bd6ffec04101138e831076789fc11cee98f2be..0df7bd5d2fb17cf4b9df3b300451cce13075d194 100644 (file)
@@ -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
This page took 0.025077 seconds and 5 git commands to generate.