diff options
author | Kaleb S. KEITHLEY <kkeithle@redhat.com> | 2018-05-07 14:52:44 -0400 |
---|---|---|
committer | Kaleb S. KEITHLEY <kkeithle@redhat.com> | 2018-05-10 11:15:18 -0400 |
commit | b4ce5e090dee2afc9ed0c86456a54f76a2bb6563 (patch) | |
tree | 23b17e9b552b560a940b3ac84d4c39c67183c29d /api/src/glfs-internal.h | |
parent | e471c2a781f8e15e43fc6662d0a6430bd104bc34 (diff) |
gfapi: various broken symbol versions
lots of breakage in symbol versions:
symbols added in 4.1 incorrectly, and
symbols added in 4.1 but labeled 4.0.0, and
symbols added in 3.13 incorrectly
Not noticed until someone tried to build 3.13.2 on FreeBSD 11.1,
despite the fact that we build on FreeBSD 10.3 IIRC, somehow the
3.13 errors aren't a build error there.
Note: in rereading the Ulrich Drepper write-up I noticed that when
a symbol version is changed, you are supposed to leave the old
symbol in its original section in addition to adding it to its new
section. Adding back those symbols to their original sections.
Reported-by: Roman Serbski <mefystofel@gmail.com>
Change-Id: I9a883546d08e0847f7228d8ea5943bc54275b319
fixes: bz#1575716
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
Diffstat (limited to 'api/src/glfs-internal.h')
-rw-r--r-- | api/src/glfs-internal.h | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/api/src/glfs-internal.h b/api/src/glfs-internal.h index 788c6b00545..10bda62dd5c 100644 --- a/api/src/glfs-internal.h +++ b/api/src/glfs-internal.h @@ -560,11 +560,20 @@ struct glfs *glfs_new_from_ctx (glusterfs_ctx_t *ctx) void */ -void glfs_free_from_ctx (struct glfs *fs) +void +glfs_free_from_ctx (struct glfs *fs) GFAPI_PRIVATE(glfs_free_from_ctx, 3.7.0); -int glfs_get_upcall_cache_invalidation (struct gf_upcall *to_up_data, - struct gf_upcall *from_up_data); +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 glfs_h_poll_cache_invalidation (struct glfs *fs, struct glfs_upcall *up_arg, |