From 3917c5a3d14853e1d4642d3ccd913c9a7de27173 Mon Sep 17 00:00:00 2001 From: Pradeep Patil Date: Sun, 2 May 2010 23:55:43 +0000 Subject: crash fixed in stat-prefetch.c Signed-off-by: Pradeep Patil Signed-off-by: Anand V. Avati BUG: 876 (crash in stat-prefetch) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=876 --- xlators/performance/stat-prefetch/src/stat-prefetch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators/performance/stat-prefetch') diff --git a/xlators/performance/stat-prefetch/src/stat-prefetch.c b/xlators/performance/stat-prefetch/src/stat-prefetch.c index 9205fedc299..b34aba58c1e 100644 --- a/xlators/performance/stat-prefetch/src/stat-prefetch.c +++ b/xlators/performance/stat-prefetch/src/stat-prefetch.c @@ -346,7 +346,7 @@ sp_cache_init (xlator_t *this) if (cache) { cache->table = rbthash_table_init (GF_SP_CACHE_BUCKETS, - sp_hashfn, free, + sp_hashfn, __gf_free, 0, priv->mem_pool); if (cache->table == NULL) { GF_FREE (cache); -- cgit