summaryrefslogtreecommitdiffstats
path: root/api/src/glfs-mem-types.h
diff options
context:
space:
mode:
authorKrutika Dhananjay <kdhananj@redhat.com>2013-10-23 13:39:18 +0000
committerAnand Avati <avati@redhat.com>2013-10-24 13:56:13 -0700
commit93c49c6e8c443426792b8e6cf24805516fdcc9bd (patch)
tree88e29a86fb2797b9e0b035ad04dd87c486bff424 /api/src/glfs-mem-types.h
parent3033d9c7b4e981a39df76ba066b98f659a1f5045 (diff)
gfapi: fix mem-types initialisation
... and also fill the body of mem_acct_init(). Change-Id: I457d0629c20f999dd2f50e710c75b1c7575b6c19 BUG: 1021904 Signed-off-by: Krutika Dhananjay <kdhananj@redhat.com> Reviewed-on: http://review.gluster.org/6134 Reviewed-by: Amar Tumballi <amarts@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'api/src/glfs-mem-types.h')
-rw-r--r--api/src/glfs-mem-types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/src/glfs-mem-types.h b/api/src/glfs-mem-types.h
index ae4791511..25b155b9c 100644
--- a/api/src/glfs-mem-types.h
+++ b/api/src/glfs-mem-types.h
@@ -16,7 +16,7 @@
#define GF_MEM_TYPE_START (gf_common_mt_end + 1)
enum glfs_mem_types_ {
- glfs_mt_glfs_t,
+ glfs_mt_glfs_t = GF_MEM_TYPE_START,
glfs_mt_call_pool_t,
glfs_mt_xlator_t,
glfs_mt_glfs_fd_t,