summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-volgen.c
diff options
context:
space:
mode:
authorPavan Sondur <pavan@gluster.com>2010-08-28 05:23:28 +0000
committerVijay Bellur <vijay@dev.gluster.com>2010-08-28 04:47:56 -0700
commit48055db6c1b8e669e6c83cc3e579569f05629026 (patch)
tree881631fba1c4188db904e1c05072b8b44748d1a4 /xlators/mgmt/glusterd/src/glusterd-volgen.c
parente38fcf1f24b963f3fae9447e77bbc16a422739ae (diff)
mgmt/glusterd: Fix some more options in volgen.
Signed-off-by: Pavan Vilas Sondur <pavan@gluster.com> Signed-off-by: Vijay Bellur <vijay@dev.gluster.com> BUG: 1455 (df command hangs before showing the gluster mount) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1455
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-volgen.c')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-volgen.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volgen.c b/xlators/mgmt/glusterd/src/glusterd-volgen.c
index ee7d6839197..4a8bc6d78a8 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";