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/storage/posix/src/posix-mem-types.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'xlators/storage/posix/src/posix-mem-types.h') diff --git a/xlators/storage/posix/src/posix-mem-types.h b/xlators/storage/posix/src/posix-mem-types.h index b9bd79ba3b8..07b51db9543 100644 --- a/xlators/storage/posix/src/posix-mem-types.h +++ b/xlators/storage/posix/src/posix-mem-types.h @@ -13,12 +13,9 @@ #include "mem-types.h" enum gf_posix_mem_types_ { - gf_posix_mt_dir_entry_t = gf_common_mt_end + 1, - gf_posix_mt_posix_fd, + gf_posix_mt_posix_fd = gf_common_mt_end + 1, gf_posix_mt_char, gf_posix_mt_posix_private, - gf_posix_mt_int32_t, - gf_posix_mt_posix_dev_t, gf_posix_mt_trash_path, gf_posix_mt_paiocb, gf_posix_mt_inode_ctx_t, -- cgit