diff options
author | Pradeep Patil <pradeep@gluster.com> | 2010-05-02 23:55:43 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2010-05-03 23:40:14 -0700 |
commit | 3917c5a3d14853e1d4642d3ccd913c9a7de27173 (patch) | |
tree | c5057c7d66b7389d9a764e6bd175be2fa595c4fa /xlators/performance/stat-prefetch/src | |
parent | 7840d9de272ef2f24c4c755a857ad8ae06703b55 (diff) |
crash fixed in stat-prefetch.c
Signed-off-by: Pradeep Patil <pradeep@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 876 (crash in stat-prefetch)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=876
Diffstat (limited to 'xlators/performance/stat-prefetch/src')
-rw-r--r-- | xlators/performance/stat-prefetch/src/stat-prefetch.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |