diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-11-15 17:13:05 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2013-11-15 17:13:05 +0000 |
commit | 308fea3428a07d03a748b8b997098778eb03a730 (patch) | |
tree | 52f90fb150a27d408d5789d2bec9c3eb15cf04dc /src/statfile.h | |
parent | 415b80326d2a0e1cf8439e0ea1c81eb1d99a97d8 (diff) | |
download | rspamd-308fea3428a07d03a748b8b997098778eb03a730.tar.gz rspamd-308fea3428a07d03a748b8b997098778eb03a730.zip |
Remove statfile pool size as it was broken.
Diffstat (limited to 'src/statfile.h')
-rw-r--r-- | src/statfile.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/statfile.h b/src/statfile.h index b6c6d0011..ced4f2207 100644 --- a/src/statfile.h +++ b/src/statfile.h @@ -88,8 +88,6 @@ typedef struct statfile_pool_s { stat_file_t *files; /**< hash table of opened files indexed by name */ void **maps; /**< shared hash table of mmaped areas indexed by name */ gint opened; /**< number of opened files */ - size_t max; /**< maximum size */ - size_t occupied; /**< current size */ memory_pool_t *pool; /**< memory pool object */ memory_pool_mutex_t *lock; /**< mutex */ struct event *invalidate_event; /**< event for pool invalidation */ @@ -106,7 +104,7 @@ struct statfile; * @param max_size maximum size * @return statfile pool object */ -statfile_pool_t* statfile_pool_new (memory_pool_t *pool, size_t max_size, gboolean use_mlock); +statfile_pool_t* statfile_pool_new (memory_pool_t *pool, gboolean use_mlock); /** * Open statfile and attach it to pool |