summaryrefslogtreecommitdiffstats
path: root/xlators/performance
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/performance')
-rw-r--r--xlators/performance/io-cache/src/io-cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/performance/io-cache/src/io-cache.c b/xlators/performance/io-cache/src/io-cache.c
index f01d8e3bb..0c015caa4 100644
--- a/xlators/performance/io-cache/src/io-cache.c
+++ b/xlators/performance/io-cache/src/io-cache.c
@@ -1409,7 +1409,7 @@ init (xlator_t *this)
ret = 0;
ctx = this->ctx;
- ioc_log2_page_size = gf_log2 (ctx->page_size);
+ ioc_log2_page_size = log_base2 (ctx->page_size);
out:
if (ret == -1) {