diff options
author | Mohit Agrawal <moagrawa@redhat.com> | 2018-04-20 12:16:32 +0530 |
---|---|---|
committer | Mohit Agrawal <moagrawa@redhat.com> | 2018-04-20 13:25:29 +0530 |
commit | 408a6d07ababde234ddeafe16687aacd2b810b42 (patch) | |
tree | 22943957f62df2c2350c4d5d3aed43b1bfbac691 /libglusterfs/src/xlator.h | |
parent | ab42a3551eba623e11a942bf44d41dd393bfee9b (diff) |
server: fix unresolved symbols by moving them to libglusterfs
Problem: glusterd2 build is failed due to undefined symbol
(xlator_mem_cleanup , glusterfsd_ctx) in server.so
Solution: To resolve the same done below two changes
1) Move xlator_mem_cleanup code from glusterfsd-mgmt.c
to xlator.c to be part of libglusterfs.so
2) replace glusterfsd_ctx to this->ctx because symbol
glusterfsd_ctx is not part of server.so
BUG: 1544090
Change-Id: Ie5e6fba9ed458931d08eb0948d450aa962424ae5
fixes: bz#1544090
Signed-off-by: Mohit Agrawal <moagrawa@redhat.com>
Diffstat (limited to 'libglusterfs/src/xlator.h')
-rw-r--r-- | libglusterfs/src/xlator.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libglusterfs/src/xlator.h b/libglusterfs/src/xlator.h index 3c16758e1a9..4f18d1cd2a9 100644 --- a/libglusterfs/src/xlator.h +++ b/libglusterfs/src/xlator.h @@ -1246,4 +1246,7 @@ glusterfs_delete_volfile_checksum (glusterfs_ctx_t *ctx, const char *volfile_id); int xlator_memrec_free (xlator_t *xl); + +void +xlator_mem_cleanup (xlator_t *this); #endif /* _XLATOR_H */ |