diff options
author | Kaushik BV <kaushikbv@gluster.com> | 2010-09-29 04:49:53 +0000 |
---|---|---|
committer | Vijay Bellur <vijay@dev.gluster.com> | 2010-09-29 06:18:05 -0700 |
commit | 528dde957c809014aee40737d01cb667e858e0c9 (patch) | |
tree | b5c9a34a898822206e5698d32dcb7ecb697f95b9 /xlators | |
parent | 2ce4be96bf1c3d08381cbdeb8d57800635702f37 (diff) |
glusterd: make sure init is not called when there is no topology change
Signed-off-by: Kaushik BV <kaushikbv@gluster.com>
Signed-off-by: Vijay Bellur <vijay@dev.gluster.com>
BUG: 1159 ()
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1159
Diffstat (limited to 'xlators')
-rw-r--r-- | xlators/cluster/afr/src/afr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/cluster/afr/src/afr.c b/xlators/cluster/afr/src/afr.c index a5906550d52..09094bdbe58 100644 --- a/xlators/cluster/afr/src/afr.c +++ b/xlators/cluster/afr/src/afr.c @@ -250,7 +250,7 @@ reconfigure (xlator_t *this, dict_t *options) read_ret = dict_get_str (options, "read-subvolume", &read_subvol); - if (read_ret == -1) + if (read_ret < 0) goto next;// No need to traverse, hence set the next option trav = this->children; |