diff options
author | Raghavendra Bhat <raghavendrabhat@gluster.com> | 2011-04-09 01:54:19 +0000 |
---|---|---|
committer | Anand Avati <avati@gluster.com> | 2011-05-03 10:03:56 -0700 |
commit | fd7e3b6052881319d4671771aae44933bbf858d4 (patch) | |
tree | bad843ac5fbdd6ec176aab7a454a5ec77194fb2f /xlators/debug/error-gen/src/error-gen-mem-types.h | |
parent | 1f06da6875d8ecff5efa2b6db387ef6084bb68a1 (diff) |
enable memory accounting for error-gen xlator
Signed-off-by: Raghavendra Bhat <raghavendrabhat@gluster.com>
Signed-off-by: Anand Avati <avati@gluster.com>
BUG: 329 (Replacing memory allocation functions with mem-type functions)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=329
Diffstat (limited to 'xlators/debug/error-gen/src/error-gen-mem-types.h')
-rw-r--r-- | xlators/debug/error-gen/src/error-gen-mem-types.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/xlators/debug/error-gen/src/error-gen-mem-types.h b/xlators/debug/error-gen/src/error-gen-mem-types.h new file mode 100644 index 00000000000..0fae10944d8 --- /dev/null +++ b/xlators/debug/error-gen/src/error-gen-mem-types.h @@ -0,0 +1,30 @@ +/* + Copyright (c) 2008-2010 Gluster, Inc. <http://www.gluster.com> + This file is part of GlusterFS. + + GlusterFS is free software; you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation; either version 3 of the License, + or (at your option) any later version. + + GlusterFS is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see + <http://www.gnu.org/licenses/>. +*/ + + +#ifndef __ERROR_GEN_MEM_TYPES_H__ +#define __ERROR_GEN_MEM_TYPES_H__ + +#include "mem-types.h" + +enum gf_error_gen_mem_types_ { + gf_error_gen_mt_eg_t = gf_common_mt_end + 1, + gf_error_gen_mt_end +}; +#endif |