diff options
author | Amar Tumballi <amarts@redhat.com> | 2012-03-22 04:11:38 -0700 |
---|---|---|
committer | Vijay Bellur <vijay@gluster.com> | 2012-03-22 04:19:35 -0700 |
commit | dc174a4d60ebca6a67e32c1834c2f0dcbff2c3c0 (patch) | |
tree | 38c67065ef92f10a7a331716ff5308e36e4546bd /libglusterfs | |
parent | 2db6b286d091346b4386fd6091eb22bd9d3ea7a0 (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.c | 3 | ||||
-rw-r--r-- | libglusterfs/src/glusterfs.h | 1 |
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; |