summaryrefslogtreecommitdiffstats
path: root/utils/exportfs/exportfs.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2015-04-02 11:49:42 -0400
committerSteve Dickson <steved@redhat.com>2015-04-02 11:57:36 -0400
commitcdd16bef988a36868a7105c14d4665a53c1c5481 (patch)
treeb2c392078a100cf0b82b1f33c7e9c7097a92302b /utils/exportfs/exportfs.c
parentd1f6583a5ff32711a1da1d4a13a29a5700f63504 (diff)
downloadnfs-utils-cdd16bef988a36868a7105c14d4665a53c1c5481.tar.gz
nfs-utils-cdd16bef988a36868a7105c14d4665a53c1c5481.tar.xz
nfs-utils-cdd16bef988a36868a7105c14d4665a53c1c5481.zip
nfs-utils: add support for the "pnfs" export option
This goes along with the patch just sent to Bruce to make pnfs support conditional. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils/exportfs/exportfs.c')
-rw-r--r--utils/exportfs/exportfs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/exportfs/exportfs.c b/utils/exportfs/exportfs.c
index 48eac00..8758231 100644
--- a/utils/exportfs/exportfs.c
+++ b/utils/exportfs/exportfs.c
@@ -821,6 +821,8 @@ dump(int verbose, int export_format)
c = dumpopt(c, "nordirplus");
if (ep->e_flags & NFSEXP_NOACL)
c = dumpopt(c, "no_acl");
+ if (ep->e_flags & NFSEXP_PNFS)
+ c = dumpopt(c, "pnfs");
if (ep->e_flags & NFSEXP_FSID)
c = dumpopt(c, "fsid=%d", ep->e_fsid);
if (ep->e_uuid)