summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShyamsundarR <srangana@redhat.com>2018-09-14 12:06:28 -0400
committerAmar Tumballi <amarts@redhat.com>2018-09-17 03:32:36 +0000
commitb4504eadd839dc93dda46f3a5284858ae4c83bfc (patch)
treed367f4844fde13e7ee2667cc8971f97bef6c8c4a
parent956b4ad214b46b1a1c89e5c120754081561aa930 (diff)
gfapi: Cleanup alias file
2 extra symbols were in the alias file, that are not exported this is cleaned up with this patch. Change-Id: I1ab54b9fb6b0d455884fbbfd89820c60bb861e6f Updates: bz#1193929 Signed-off-by: ShyamsundarR <srangana@redhat.com>
-rw-r--r--api/src/gfapi.aliases2
-rw-r--r--api/src/glfs-fops.c2
-rw-r--r--api/src/glfs-internal.h4
3 files changed, 1 insertions, 7 deletions
diff --git a/api/src/gfapi.aliases b/api/src/gfapi.aliases
index 854a7d42f8f..95ed112fac6 100644
--- a/api/src/gfapi.aliases
+++ b/api/src/gfapi.aliases
@@ -168,8 +168,6 @@ _pub_glfs_file_lock _glfs_file_lock$GFAPI_4.0.0
_pub_glfs_lease _glfs_lease$GFAPI_4.0.0
_pub_glfs_h_lease _glfs_h_lease$GFAPI_4.0.0
-_pub_glfs_recall_lease_fd _glfs_recall_lease_fd$GFAPI_future
-_pub_glfs_recall_lease_upcall _glfs_recall_lease_upcall$GFAPI_future
_pub_glfs_read_async _glfs_read_async$GFAPI_future
_pub_glfs_write_async _glfs_write_async$GFAPI_future
_pub_glfs_readv_async _glfs_readv_async$GFAPI_future
diff --git a/api/src/glfs-fops.c b/api/src/glfs-fops.c
index f6786845a4f..3996e38eb61 100644
--- a/api/src/glfs-fops.c
+++ b/api/src/glfs-fops.c
@@ -5219,7 +5219,7 @@ out:
return ret;
}
-int
+static int
glfs_recall_lease_upcall(struct glfs *fs, struct glfs_upcall *up_arg,
struct gf_upcall *up_data)
{
diff --git a/api/src/glfs-internal.h b/api/src/glfs-internal.h
index 200148e3774..a8d5c59e209 100644
--- a/api/src/glfs-internal.h
+++ b/api/src/glfs-internal.h
@@ -591,10 +591,6 @@ int
glfs_recall_lease_fd(struct glfs *fs, struct gf_upcall *up_data);
int
-glfs_recall_lease_upcall(struct glfs *fs, struct glfs_upcall *up_arg,
- struct gf_upcall *up_data);
-
-int
glfs_get_upcall_cache_invalidation(struct gf_upcall *to_up_data,
struct gf_upcall *from_up_data);
int