From 828b2b7059093972381bc64047025a7d8cac508e Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Tue, 7 Aug 2012 10:03:47 +0530 Subject: core: moved back the pthread_key_t specific variables as global in a patch to move all the global variables inside 'ctx', moved all the pthread_key_t specific globals, which needed to be global, not inside some structures. Change-Id: I5e7107a8a64f5b80e90fd469fb084f62b2312705 Signed-off-by: Amar Tumballi BUG: 764890 Reviewed-on: http://review.gluster.com/3783 Tested-by: Gluster Build System Reviewed-by: Anand Avati --- libglusterfs/src/glusterfs.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'libglusterfs/src/glusterfs.h') diff --git a/libglusterfs/src/glusterfs.h b/libglusterfs/src/glusterfs.h index 70a50af6a..5c2843851 100644 --- a/libglusterfs/src/glusterfs.h +++ b/libglusterfs/src/glusterfs.h @@ -383,12 +383,6 @@ struct _glusterfs_ctx { call to fsd-mgmt */ gf_log_handle_t log; /* all logging related variables */ - pthread_key_t synctask_key; - pthread_key_t uuid_buf_key; - char uuid_buf[GF_UUID_BUF_SIZE]; - pthread_key_t lkowner_buf_key; - char lkowner_buf[GF_LKOWNER_BUF_SIZE]; - int mem_acct_enable; }; -- cgit