summaryrefslogtreecommitdiffstats
path: root/libglusterfs
diff options
context:
space:
mode:
Diffstat (limited to 'libglusterfs')
-rw-r--r--libglusterfs/src/xlator.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libglusterfs/src/xlator.c b/libglusterfs/src/xlator.c
index dcdf40f7120..67ee3287402 100644
--- a/libglusterfs/src/xlator.c
+++ b/libglusterfs/src/xlator.c
@@ -993,7 +993,7 @@ int
xlator_validate_rec (xlator_t *xlator, char **op_errstr)
{
xlator_list_t *trav = NULL;
-
+
if (xlator == NULL ) {
gf_log ("xlator", GF_LOG_DEBUG, "invalid argument");
return -1;
@@ -1007,27 +1007,27 @@ xlator_validate_rec (xlator_t *xlator, char **op_errstr)
trav = trav->next;
}
-
+
if (xlator_dynload (xlator))
gf_log ("", GF_LOG_DEBUG, "Did not load the symbols");
if (xlator->validate_options) {
- if (xlator->validate_options (xlator, xlator->options,
+ if (xlator->validate_options (xlator, xlator->options,
op_errstr)) {
gf_log ("", GF_LOG_DEBUG, *op_errstr);
return -1;
}
gf_log (xlator->name, GF_LOG_DEBUG, "Validated option");
-
+
}
-
+
gf_log (xlator->name, GF_LOG_DEBUG, "No validate_options() found");
return 0;
}
int
-graph_reconf_validateopt (glusterfs_graph_t *graph,
+graph_reconf_validateopt (glusterfs_graph_t *graph,
char **op_errstr)
{
xlator_t *xlator = NULL;