diff options
author | Pranith Kumar K <pkarampu@redhat.com> | 2014-03-12 19:56:08 +0530 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2014-03-08 17:02:27 -0800 |
commit | 40b0bf5fc01a17e9a1628cd9ff537b7e15353958 (patch) | |
tree | 99a476c2d1b5dc1e6d6a98691bf9ebb655d9ee74 /xlators/storage/bd/src/bd-mem-types.h | |
parent | 0ddd69a60e49f1335ed29a8225e31d24c836083a (diff) |
storage/bd: Fix allocations/deallocations
Change-Id: I39c9eb083fc1c144fe6f011dd983b877fbbff0f7
BUG: 1075717
Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Reviewed-on: http://review.gluster.org/7230
Reviewed-by: Anand Avati <avati@redhat.com>
Tested-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'xlators/storage/bd/src/bd-mem-types.h')
-rw-r--r-- | xlators/storage/bd/src/bd-mem-types.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/xlators/storage/bd/src/bd-mem-types.h b/xlators/storage/bd/src/bd-mem-types.h new file mode 100644 index 000000000..58b448342 --- /dev/null +++ b/xlators/storage/bd/src/bd-mem-types.h @@ -0,0 +1,27 @@ +/* + Copyright (c) 2008-2014 Red Hat, Inc. <http://www.redhat.com> + This file is part of GlusterFS. + + This file is licensed to you under your choice of the GNU Lesser + General Public License, version 3 or any later version (LGPLv3 or + later), or the GNU General Public License, version 2 (GPLv2), in all + cases as published by the Free Software Foundation. +*/ + + +#ifndef __BD_MEM_TYPES_H__ +#define __BD_MEM_TYPES_H__ + +#include "mem-types.h" + +enum gf_bd_mem_types_ { + gf_bd_private = gf_common_mt_end + 1, + gf_bd_attr, + gf_bd_fd, + gf_bd_loc_t, + gf_bd_int32_t, + gf_bd_aio_cb, + gf_bd_mt_end +}; + +#endif |