From 8205e939178ba2253117869024a306442b30d3d1 Mon Sep 17 00:00:00 2001 From: Raghavendra Bhat Date: Mon, 8 Nov 2010 06:40:21 +0000 Subject: check if the brick being added is the destination brick of replace brick Signed-off-by: Raghavendra Bhat Signed-off-by: Anand V. Avati BUG: 2033 () URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2033 --- xlators/mgmt/glusterd/src/glusterd-op-sm.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'xlators/mgmt/glusterd/src/glusterd-op-sm.h') diff --git a/xlators/mgmt/glusterd/src/glusterd-op-sm.h b/xlators/mgmt/glusterd/src/glusterd-op-sm.h index 27314781..f8f624c2 100644 --- a/xlators/mgmt/glusterd/src/glusterd-op-sm.h +++ b/xlators/mgmt/glusterd/src/glusterd-op-sm.h @@ -224,6 +224,9 @@ glusterd_check_option_exists(char *optstring, char **completion); int set_xlator_option (dict_t *dict, char *key, char *value); +char * +glusterd_check_brick_rb_part (char *bricks, int count, glusterd_volinfo_t *volinfo); + void glusterd_do_replace_brick (void *data); int -- cgit