exportfs: Missing comma in pnfs options
Subsystems (2)
PATCH 1/1 exportfs: Missing comma in pnfs options
From: Kelly Anderson <[email protected]>
Fix a missing comma in pnfs which get's written to etab, and then nfs-mountd sees an invalid option.
Signed-off-by Steve Dickson <[email protected]>
--- support/nfs/exports.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
support/nfs/exports.c +1 -1
@@ -275,7 +275,7 @@ putexportent(struct exportent *ep) "no_" : "");if (ep->e_flags &NFSEXP_NOREADDIRPLUS )fprintf (fp,"nordirplus," ); -fprintf (fp,"%spnfs" , (ep->e_flags &NFSEXP_PNFS )?"" :"no_" ); +fprintf (fp,"%spnfs," , (ep->e_flags &NFSEXP_PNFS )?"" :"no_" );if (ep->e_flags &NFSEXP_FSID ) {fprintf (fp,"fsid=%d," , ep->e_fsid); }
Signature · 1 line
2.1.0