From cd338784d39b9a4a55cc3c6a1613b90a2a63a8e3 Mon Sep 17 00:00:00 2001 From: Ravishankar N Date: Thu, 1 Jan 2015 15:55:22 +0000 Subject: api: export glfs_resolve() glfs_resolve() is an internal function in libgfapi. Export it so that it can be used by glfs-heal.c. The change is done in line with the approach followed in commit 7e497871d11a3a527e2ce192e4274322631f27d0 (http://review.gluster.org/9036) This patch [2/3] is required as a part of afr automated split-brain resolution implementation. Change-Id: If9057f2a037fd25a0dfa231683bfbaa72d3cb1b2 BUG: 1136769 Signed-off-by: Ravishankar N Reviewed-on: http://review.gluster.org/9376 Reviewed-by: Niels de Vos Reviewed-by: Shyamsundar Ranganathan Tested-by: Shyamsundar Ranganathan --- api/src/glfs-resolve.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'api/src/glfs-resolve.c') diff --git a/api/src/glfs-resolve.c b/api/src/glfs-resolve.c index 3b76487cd25..efc08cde741 100644 --- a/api/src/glfs-resolve.c +++ b/api/src/glfs-resolve.c @@ -520,7 +520,7 @@ glfs_resolve_path (struct glfs *fs, xlator_t *subvol, const char *origpath, int -glfs_resolve (struct glfs *fs, xlator_t *subvol, const char *origpath, +priv_glfs_resolve (struct glfs *fs, xlator_t *subvol, const char *origpath, loc_t *loc, struct iatt *iatt, int reval) { int ret = -1; @@ -529,7 +529,7 @@ glfs_resolve (struct glfs *fs, xlator_t *subvol, const char *origpath, return ret; } - +GFAPI_SYMVER_PRIVATE_DEFAULT(glfs_resolve, 3.7.0); int glfs_lresolve (struct glfs *fs, xlator_t *subvol, const char *origpath, -- cgit