From f3737b2ee75bda6cd05744f2fbd13cb92ecab655 Mon Sep 17 00:00:00 2001 From: shishir gowda Date: Thu, 21 Oct 2010 03:37:27 +0000 Subject: Solaris build: Remove sigtimewaitd This part of code was stale as a result of fixes for volume start force changes. Removing the unwanted code Signed-off-by: shishir gowda Signed-off-by: Anand V. Avati BUG: 1990 (Gluster mainline build on solaris fails with errors) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1990 --- xlators/mgmt/glusterd/src/glusterd-utils.c | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'xlators/mgmt') diff --git a/xlators/mgmt/glusterd/src/glusterd-utils.c b/xlators/mgmt/glusterd/src/glusterd-utils.c index f6fa6f66e92..8c27036b5e8 100644 --- a/xlators/mgmt/glusterd/src/glusterd-utils.c +++ b/xlators/mgmt/glusterd/src/glusterd-utils.c @@ -1945,20 +1945,7 @@ glusterd_restart_bricks (glusterd_conf_t *conf) glusterd_volinfo_t *volinfo = NULL; glusterd_brickinfo_t *brickinfo = NULL; int ret = -1; - struct timespec timeout; - sigset_t mask; - if (sigprocmask(SIG_BLOCK, &mask, NULL) < 0) { - perror ("sigprocmask"); - return -1; - } - - sigemptyset (&mask); - - timeout.tv_sec = 5; - timeout.tv_nsec = 0; - - sigtimedwait(&mask, NULL, &timeout); GF_ASSERT (conf); list_for_each_entry (volinfo, &conf->volumes, vol_list) { -- cgit