summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/afr/src/afr-self-heal-common.c
diff options
context:
space:
mode:
authorVikas Gorur <vikas@gluster.com>2009-04-20 03:54:04 -0700
committerAnand V. Avati <avati@amp.gluster.com>2009-04-20 18:01:24 +0530
commit82394d484803e02e28441bc0b988efaaff60dd94 (patch)
tree87e5031e88f5de1abd3ea880b79aeb57ac0a545d /xlators/cluster/afr/src/afr-self-heal-common.c
parentfbefbfee743a01b5ad9977ad24de372258aeb65c (diff)
Check return value of afr_sh_select_source.
If select_source returns -1, abort self-heal. Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'xlators/cluster/afr/src/afr-self-heal-common.c')
-rw-r--r--xlators/cluster/afr/src/afr-self-heal-common.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/xlators/cluster/afr/src/afr-self-heal-common.c b/xlators/cluster/afr/src/afr-self-heal-common.c
index f6a4bf9fb..6a7f2d93c 100644
--- a/xlators/cluster/afr/src/afr-self-heal-common.c
+++ b/xlators/cluster/afr/src/afr-self-heal-common.c
@@ -29,7 +29,6 @@
/**
* select_source - select a source and return it
- * TODO: take into account option 'favorite-child'
*/
int