diff options
author | Anand Avati <avati@gluster.com> | 2010-06-07 12:37:34 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2010-06-07 11:58:50 -0700 |
commit | 79241696fbdebe2583298f12cbaee068ce60c655 (patch) | |
tree | 42e60d351e328fa34f17242c6c3359a8c01e8fa3 /libglusterfs/src/latency.c | |
parent | c4ebd25a176d6d51d702b1009e261c3c27237a48 (diff) |
dynamic volume changes for graph replacement
Signed-off-by: Anand V. Avati <avati@blackhole.gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 971 (dynamic volume management)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=971
Diffstat (limited to 'libglusterfs/src/latency.c')
-rw-r--r-- | libglusterfs/src/latency.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libglusterfs/src/latency.c b/libglusterfs/src/latency.c index 5156e8e2551..71f9824209f 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; |