summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/syncop.c
diff options
context:
space:
mode:
authorAmar Tumballi <amarts@redhat.com>2012-08-07 10:03:47 +0530
committerAnand Avati <avati@redhat.com>2012-08-06 21:51:35 -0700
commit828b2b7059093972381bc64047025a7d8cac508e (patch)
tree3be94074784fa237436723db79e3c3144e59dcd4 /libglusterfs/src/syncop.c
parent87d453f7211d3a38113aea895947143ea8bf7d68 (diff)
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 <amarts@redhat.com> BUG: 764890 Reviewed-on: http://review.gluster.com/3783 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'libglusterfs/src/syncop.c')
-rw-r--r--libglusterfs/src/syncop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libglusterfs/src/syncop.c b/libglusterfs/src/syncop.c
index 95d6087f..7b34c631 100644
--- a/libglusterfs/src/syncop.c
+++ b/libglusterfs/src/syncop.c
@@ -284,7 +284,7 @@ synctask_switchto (struct synctask *task)
env = task->env;
- synctask_set (THIS->ctx, task);
+ synctask_set (task);
THIS = task->xl;
task->woken = 0;