From d7e694ad7049cd819f8dbc26ec1e7d35b4d1a6fe Mon Sep 17 00:00:00 2001 From: Pranith K Date: Tue, 28 Sep 2010 09:27:23 +0000 Subject: mgmt/glusterd: prevent cleanup_and_exit if its already started Signed-off-by: Pranith Kumar K Signed-off-by: Vijay Bellur BUG: 1706 () URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1706 --- libglusterfs/src/glusterfs.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libglusterfs') diff --git a/libglusterfs/src/glusterfs.h b/libglusterfs/src/glusterfs.h index f484520a..f107a8ab 100644 --- a/libglusterfs/src/glusterfs.h +++ b/libglusterfs/src/glusterfs.h @@ -283,6 +283,7 @@ struct _glusterfs_ctx { unsigned char measure_latency; /* toggle switch for latency measurement */ pthread_t sigwaiter; struct mem_pool *stub_mem_pool; + unsigned char cleanup_started; }; typedef struct _glusterfs_ctx glusterfs_ctx_t; -- cgit