summaryrefslogtreecommitdiffstats
path: root/api/src/glfs.c
diff options
context:
space:
mode:
authorKaleb S. KEITHLEY <kkeithle@redhat.com>2014-11-18 14:44:59 -0500
committerRaghavendra Bhat <raghavendra@redhat.com>2015-03-03 23:32:16 -0800
commitb887c4ee9338215ce11aa350c97fcc6f133fcce7 (patch)
treefd52c7395762ac83e551b7015a61cf9d99325554 /api/src/glfs.c
parentb646678334f4fab78883ecc1b993ec0cb1b49aba (diff)
api: versioned symbols in libgfapi.so for compatibility
Use versioned symbols to keep libgfapi at libgfapi.so.0.0.0 Revisited to address broken build on Mac OS X See http://review.gluster.org/9055 Change-Id: I0f26668898749f57b61490b18f1f04c42996225d BUG: 1165129 Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com> Reviewed-on: http://review.gluster.org/9145 Reviewed-by: Shyamsundar Ranganathan <srangana@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Ravishankar N <ravishankar@redhat.com> Reviewed-by: Raghavendra Bhat <raghavendra@redhat.com>
Diffstat (limited to 'api/src/glfs.c')
-rw-r--r--api/src/glfs.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/api/src/glfs.c b/api/src/glfs.c
index 41c6da576a7..42e4a58d462 100644
--- a/api/src/glfs.c
+++ b/api/src/glfs.c
@@ -751,9 +751,6 @@ pub_glfs_init (struct glfs *fs)
GFAPI_SYMVER_PUBLIC_DEFAULT(glfs_init, 3.4.0);
-extern xlator_t *
-priv_glfs_active_subvol (struct glfs *);
-
int
pub_glfs_fini (struct glfs *fs)
{
@@ -794,7 +791,7 @@ pub_glfs_fini (struct glfs *fs)
pthread_mutex_unlock (&fs->mutex);
if (fs_init != 0) {
- subvol = priv_glfs_active_subvol (fs);
+ subvol = glfs_active_subvol (fs);
if (subvol) {
/* PARENT_DOWN within priv_glfs_subvol_done() is issued only
on graph switch (new graph should activiate and
@@ -808,7 +805,7 @@ pub_glfs_fini (struct glfs *fs)
disconnection in the future.
*/
}
- priv_glfs_subvol_done (fs, subvol);
+ glfs_subvol_done (fs, subvol);
}
if (gf_log_fini(ctx) != 0)