summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/mem-pool.c
diff options
context:
space:
mode:
authorShehjar Tikoo <shehjart@gluster.com>2009-05-19 04:33:48 +0000
committerAnand V. Avati <avati@amp.gluster.com>2009-05-19 21:13:22 +0530
commit3aea8a66a457349e19bde40eb33510edd0597cff (patch)
treea81795a385e30f80d50e1f4136af723901884caf /libglusterfs/src/mem-pool.c
parentacf28ed1ef3565ca1321fe9647d9b065a24fa46a (diff)
mem-pool: Remove hard coded value for pad boundary
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'libglusterfs/src/mem-pool.c')
-rw-r--r--libglusterfs/src/mem-pool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libglusterfs/src/mem-pool.c b/libglusterfs/src/mem-pool.c
index a6b3339ba..a5bb3fcc2 100644
--- a/libglusterfs/src/mem-pool.c
+++ b/libglusterfs/src/mem-pool.c
@@ -22,7 +22,7 @@
#include <stdlib.h>
-#define GF_MEM_POOL_PAD_BOUNDRY 16
+#define GF_MEM_POOL_PAD_BOUNDRY (sizeof(struct list_head))
struct mem_pool *