From 79241696fbdebe2583298f12cbaee068ce60c655 Mon Sep 17 00:00:00 2001 From: Anand Avati Date: Mon, 7 Jun 2010 12:37:34 +0000 Subject: dynamic volume changes for graph replacement Signed-off-by: Anand V. Avati Signed-off-by: Anand V. Avati BUG: 971 (dynamic volume management) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=971 --- libglusterfs/src/latency.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libglusterfs/src/latency.c') diff --git a/libglusterfs/src/latency.c b/libglusterfs/src/latency.c index 5156e8e25..71f982420 100644 --- a/libglusterfs/src/latency.c +++ b/libglusterfs/src/latency.c @@ -174,7 +174,7 @@ gf_latency_toggle (int signum) { glusterfs_ctx_t *ctx = NULL; - ctx = get_global_ctx_ptr (); + ctx = glusterfs_ctx_get (); if (ctx) { ctx->measure_latency = !ctx->measure_latency; -- cgit