From 98a672f5046620f5fc751ea803e0dfa0bf4e18d3 Mon Sep 17 00:00:00 2001 From: Yaniv Kaul Date: Thu, 29 Nov 2018 22:27:59 +0200 Subject: Multiple xlator .h files: remove unused private gf_* memory types. It seems there were quite a few unused enums (that in turn cause unndeeded memory allocation) in some xlators. I've removed them, hopefully not causing any damage. Compile-tested only! updates: bz#1193929 Signed-off-by: Yaniv Kaul Change-Id: I8252bd763dc1506e2d922496d896cd2fc0886ea7 --- xlators/cluster/afr/src/afr-mem-types.h | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) (limited to 'xlators/cluster/afr') diff --git a/xlators/cluster/afr/src/afr-mem-types.h b/xlators/cluster/afr/src/afr-mem-types.h index d62f7876bcd..531184b4bd7 100644 --- a/xlators/cluster/afr/src/afr-mem-types.h +++ b/xlators/cluster/afr/src/afr-mem-types.h @@ -14,32 +14,16 @@ #include "mem-types.h" enum gf_afr_mem_types_ { - gf_afr_mt_iovec = gf_common_mt_end + 1, - gf_afr_mt_afr_fd_ctx_t, + gf_afr_mt_afr_fd_ctx_t = gf_common_mt_end + 1, gf_afr_mt_afr_private_t, gf_afr_mt_int32_t, gf_afr_mt_char, gf_afr_mt_xattr_key, gf_afr_mt_dict_t, gf_afr_mt_xlator_t, - gf_afr_mt_iatt, - gf_afr_mt_int, gf_afr_mt_afr_node_character, - gf_afr_mt_sh_diff_loop_state, - gf_afr_mt_uint8_t, - gf_afr_mt_loc_t, - gf_afr_mt_entry_name, - gf_afr_mt_pump_priv, - gf_afr_mt_locked_fd, gf_afr_mt_inode_ctx_t, - gf_afr_fd_paused_call_t, - gf_afr_mt_crawl_data_t, - gf_afr_mt_brick_pos_t, - gf_afr_mt_shd_bool_t, - gf_afr_mt_shd_timer_t, gf_afr_mt_shd_event_t, - gf_afr_mt_time_t, - gf_afr_mt_pos_data_t, gf_afr_mt_reply_t, gf_afr_mt_subvol_healer_t, gf_afr_mt_spbc_timeout_t, -- cgit