summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt
diff options
context:
space:
mode:
authorshishir gowda <shishirng@gluster.com>2010-10-21 03:37:27 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-10-21 05:11:27 -0700
commitf3737b2ee75bda6cd05744f2fbd13cb92ecab655 (patch)
tree49e67684ebcdc0e7d393dd8fbda4a2694be7817c /xlators/mgmt
parent559055ebfebe8d58c8607c521661c1f1c1d3a2d5 (diff)
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 <shishirng@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 1990 (Gluster mainline build on solaris fails with errors) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1990
Diffstat (limited to 'xlators/mgmt')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-utils.c13
1 files changed, 0 insertions, 13 deletions
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) {