summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Shubin <james@shubin.ca>2013-12-21 03:35:37 -0500
committerVijay Bellur <vbellur@redhat.com>2013-12-23 10:12:41 -0800
commit879be836145f1d0b4bc381e7416ca8bd0811b718 (patch)
treef4d0e63b67c578bbb7077bdc8b3c97b62d7f5a83
parent1cc90698094f9483ee8b9731aef96e1a777a7887 (diff)
Fix typos, and spacing issues.
Change-Id: I459ba4e87e9bc4f1c373f7abe8701bfa8450253c BUG: 1045690 Signed-off-by: James Shubin <james@shubin.ca> Reviewed-on: http://review.gluster.org/6556 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
-rw-r--r--xlators/cluster/afr/src/afr.c13
-rw-r--r--xlators/nfs/server/src/nfs.c18
-rw-r--r--xlators/protocol/server/src/server.c8
3 files changed, 19 insertions, 20 deletions
diff --git a/xlators/cluster/afr/src/afr.c b/xlators/cluster/afr/src/afr.c
index 34417a15876..b43fde47d6d 100644
--- a/xlators/cluster/afr/src/afr.c
+++ b/xlators/cluster/afr/src/afr.c
@@ -584,8 +584,8 @@ struct volume_options options[] = {
{ .key = {"choose-local" },
.type = GF_OPTION_TYPE_BOOL,
.default_value = "true",
- .description = "Choose a local subvolume(i.e. Brick) to read from if "
- "read-subvolume is not explicitly set.",
+ .description = "Choose a local subvolume (i.e. Brick) to read from"
+ " if read-subvolume is not explicitly set.",
},
{ .key = {"favorite-child"},
.type = GF_OPTION_TYPE_XLATOR,
@@ -695,7 +695,7 @@ struct volume_options options[] = {
.description = "Lock phase of a transaction has two sub-phases. "
"First is an attempt to acquire locks in parallel by "
"broadcasting non-blocking lock requests. If lock "
- "aquistion fails on any server, then the held locks "
+ "acquisition fails on any server, then the held locks "
"are unlocked and revert to a blocking locked mode "
"sequentially on one server after another. If this "
"option is enabled the initial broadcasting lock "
@@ -711,16 +711,15 @@ struct volume_options options[] = {
"arrives before the unlock phase of the \"optimized\" "
"transaction, that in turn \"takes over\" the lock as "
"well. The actual unlock now happens at the end of "
- "the last \"optimzed\" transaction."
+ "the last \"optimized\" transaction."
},
{ .key = {"self-heal-daemon"},
.type = GF_OPTION_TYPE_BOOL,
.default_value = "off",
.description = "This option applies to only self-heal-daemon. "
- "Index directory crawl and automatic healing of files"
- " will not be performed if this option is turned"
- " off."
+ "Index directory crawl and automatic healing of files "
+ "will not be performed if this option is turned off."
},
{ .key = {"iam-self-heal-daemon"},
.type = GF_OPTION_TYPE_BOOL,
diff --git a/xlators/nfs/server/src/nfs.c b/xlators/nfs/server/src/nfs.c
index 8c895c66d92..4ab5cbc9077 100644
--- a/xlators/nfs/server/src/nfs.c
+++ b/xlators/nfs/server/src/nfs.c
@@ -1604,8 +1604,8 @@ struct volume_options options[] = {
.type = GF_OPTION_TYPE_BOOL,
.default_value = "on",
.description = "Disable or enable the AUTH_UNIX authentication type."
- "Must always be enabled for better interoperability."
- "However, can be disabled if needed. Enabled by"
+ "Must always be enabled for better interoperability. "
+ "However, can be disabled if needed. Enabled by "
"default"
},
{ .key = {"rpc-auth.auth-null"},
@@ -1621,8 +1621,8 @@ struct volume_options options[] = {
.description = "Disable or enable the AUTH_UNIX authentication type "
"for a particular exported volume overriding defaults"
" and general setting for AUTH_UNIX scheme. Must "
- "always be enabled for better interoperability."
- "However, can be disabled if needed. Enabled by"
+ "always be enabled for better interoperability. "
+ "However, can be disabled if needed. Enabled by "
"default."
},
{ .key = {"rpc-auth.auth-unix.*.allow"},
@@ -1631,8 +1631,8 @@ struct volume_options options[] = {
.description = "Disable or enable the AUTH_UNIX authentication type "
"for a particular exported volume overriding defaults"
" and general setting for AUTH_UNIX scheme. Must "
- "always be enabled for better interoperability."
- "However, can be disabled if needed. Enabled by"
+ "always be enabled for better interoperability. "
+ "However, can be disabled if needed. Enabled by "
"default."
},
{ .key = {"rpc-auth.auth-null.*"},
@@ -1673,7 +1673,7 @@ struct volume_options options[] = {
.default_value = "none",
.description = "Reject a comma separated list of addresses and/or"
" hostnames from connecting to the server. By default,"
- " all connections are allowed. This allows users to"
+ " all connections are allowed. This allows users to "
"define a rule for a specific exported volume."
},
{ .key = {"rpc-auth.ports.insecure"},
@@ -1770,8 +1770,8 @@ struct volume_options options[] = {
{ .key = {"nfs.*.disable"},
.type = GF_OPTION_TYPE_BOOL,
.default_value = "false",
- .description = "This option is used to start or stop NFS server"
- "for individual volume."
+ .description = "This option is used to start or stop the NFS server "
+ "for individual volumes."
},
{ .key = {"nfs.nlm"},
diff --git a/xlators/protocol/server/src/server.c b/xlators/protocol/server/src/server.c
index 702deaa4545..3720372f9e3 100644
--- a/xlators/protocol/server/src/server.c
+++ b/xlators/protocol/server/src/server.c
@@ -1052,10 +1052,10 @@ struct volume_options options[] = {
{ .key = {"root-squash"},
.type = GF_OPTION_TYPE_BOOL,
.default_value = "off",
- .description = "Map requests from uid/gid 0 to the anonymous "
- "uid/gid. Note that this does not apply to any other"
- "uids or gids that might be equally sensitive, such as"
- "user bin or group staff."
+ .description = "Map requests from uid/gid 0 to the anonymous "
+ "uid/gid. Note that this does not apply to any other "
+ "uids or gids that might be equally sensitive, such "
+ "as user bin or group staff."
},
{ .key = {"statedump-path"},
.type = GF_OPTION_TYPE_PATH,