From 11ac70c8b6aefe3e82b7f1bd3f661206465c3ef8 Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Fri, 10 Jul 2015 15:41:18 +0200 Subject: gfapi: correct symbol versioning in glfs-handles.h Some of the symbol versions exposed to Mac OS X systems are incorrect. glfs_h_lookupat() has been exported multiple times, for different versions. Seems to be a simple copy/paste error, but we have not spotted that during review :-/ The only applications that could be affected by this correcting change, would need to have linked against the highest versions of glfs_h_lookupat(). Because Mac OS X is not a mainstream client-side environment, we do not need to take special precautions for it. BUG: 1202274 Change-Id: I9ee909ce0f205faa9f110be2101fc6feae20df41 Signed-off-by: Niels de Vos Reviewed-on: http://review.gluster.org/11623 Reviewed-by: Kaleb KEITHLEY Reviewed-by: Shyamsundar Ranganathan Tested-by: Gluster Build System --- api/src/glfs-handles.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'api/src/glfs-handles.h') diff --git a/api/src/glfs-handles.h b/api/src/glfs-handles.h index 29fb0f5c976..3f2df0a853e 100644 --- a/api/src/glfs-handles.h +++ b/api/src/glfs-handles.h @@ -188,7 +188,7 @@ int glfs_h_close (struct glfs_object *object) __THROW int glfs_caller_specific_init (void *uid_caller_key, void *gid_caller_key, void *future) __THROW - GFAPI_PUBLIC(glfs_h_lookupat, 3.5.0); + GFAPI_PUBLIC(glfs_caller_specific_init, 3.5.0); int glfs_h_truncate (struct glfs *fs, struct glfs_object *object, off_t offset) __THROW @@ -209,7 +209,7 @@ int glfs_h_getattrs (struct glfs *fs, struct glfs_object *object, int glfs_h_getxattrs (struct glfs *fs, struct glfs_object *object, const char *name, void *value, size_t size) __THROW - GFAPI_PUBLIC(glfs_h_lookupat, 3.5.1); + GFAPI_PUBLIC(glfs_h_getxattrs, 3.5.1); int glfs_h_setattrs (struct glfs *fs, struct glfs_object *object, struct stat *sb, int valid) __THROW -- cgit