summaryrefslogtreecommitdiffstats
path: root/libglusterfs
diff options
context:
space:
mode:
authorAmar Tumballi <amarts@redhat.com>2012-03-22 04:11:38 -0700
committerVijay Bellur <vijay@gluster.com>2012-03-22 04:19:35 -0700
commitdc174a4d60ebca6a67e32c1834c2f0dcbff2c3c0 (patch)
tree38c67065ef92f10a7a331716ff5308e36e4546bd /libglusterfs
parent2db6b286d091346b4386fd6091eb22bd9d3ea7a0 (diff)
Revert "core: enable process to return the appropriate error code"
This reverts commit 16717f4df7b0fbd3c255f5faf8a2744444231bb7 Change-Id: I65624db4d31e11e1bec66b07b352ce823ef069b9 Reviewed-on: http://review.gluster.com/3001 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vijay@gluster.com>
Diffstat (limited to 'libglusterfs')
-rw-r--r--libglusterfs/src/globals.c3
-rw-r--r--libglusterfs/src/glusterfs.h1
2 files changed, 0 insertions, 4 deletions
diff --git a/libglusterfs/src/globals.c b/libglusterfs/src/globals.c
index 64b25663595..e041ce5d6b4 100644
--- a/libglusterfs/src/globals.c
+++ b/libglusterfs/src/globals.c
@@ -114,9 +114,6 @@ glusterfs_ctx_init ()
INIT_LIST_HEAD (&glusterfs_ctx->mempool_list);
ret = pthread_mutex_init (&glusterfs_ctx->lock, NULL);
- glusterfs_ctx->daemon_pipe[0] = -1;
- glusterfs_ctx->daemon_pipe[1] = -1;
-
out:
return ret;
}
diff --git a/libglusterfs/src/glusterfs.h b/libglusterfs/src/glusterfs.h
index fc9c062534b..a3adf151b19 100644
--- a/libglusterfs/src/glusterfs.h
+++ b/libglusterfs/src/glusterfs.h
@@ -378,7 +378,6 @@ struct _glusterfs_ctx {
int mem_accounting; /* if value is other than 0, it
will be set */
- int daemon_pipe[2];
};
typedef struct _glusterfs_ctx glusterfs_ctx_t;