Patchwork [BUG:1455] mgmt/glusterd: Fix some more options in volgen.

login
register
Submitter Pavan Sondur
Date 2010-08-28 10:53:28
Message ID <20100828105328.GA17270@gluster.com>
Download mbox | patch
Permalink /patch/4356/
State Accepted
Headers show

Comments

Pavan Sondur - 2010-08-28 10:53:28
Signed-off-by: Pavan Vilas Sondur <pavan@gluster.com>
---
 xlators/mgmt/glusterd/src/glusterd-volgen.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

Patch

diff --git a/xlators/mgmt/glusterd/src/glusterd-volgen.c b/xlators/mgmt/glusterd/src/glusterd-volgen.c
index ee7d683..4a8bc6d 100644
--- a/xlators/mgmt/glusterd/src/glusterd-volgen.c
+++ b/xlators/mgmt/glusterd/src/glusterd-volgen.c
@@ -352,11 +352,11 @@  __write_posix_xlator (FILE *file, dict_t *dict,
         const char *posix_str = "volume %s-%s\n"
                 "type storage/posix\n"
                 "option directory %s\n"
-                "option o-direct %s\n"
-                "option export-statfs-size %s\n"
-                "option mandate-attribute %s\n"
+                "#option o-direct %s\n"
+                "#option export-statfs-size %s\n"
+                "#option mandate-attribute %s\n"
                 "#option span-devices %s\n"
-                "option background-unlink %s\n"
+                "#option background-unlink %s\n"
                 "end-volume\n\n";
 
         ret = dict_get_str (dict, "volname", &volname);
@@ -421,8 +421,8 @@  __write_locks_xlator (FILE *file, dict_t *dict,
 
         const char *locks_str = "volume %s-%s\n"
                 "type features/locks\n"
-                "option trace %s\n"
-                "option mandatory %s\n"
+                "#option trace %s\n"
+                "#option mandatory %s\n"
                 "subvolumes %s\n"
                 "end-volume\n\n";