summaryrefslogtreecommitdiffstats
path: root/api/src/glfs.h
diff options
context:
space:
mode:
authorKaleb S. KEITHLEY <kkeithle@redhat.com>2018-05-11 10:36:11 -0400
committerKaleb S. KEITHLEY <kkeithle@redhat.com>2018-05-11 10:36:50 -0400
commit02367d129e705044fd685c1281d294e2650ddf3e (patch)
tree52b0a2d99e352390f918d32eb4e876763c1ca760 /api/src/glfs.h
parent83f50e831cab0b8de7870a75098298f370804e04 (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#1577162 Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
Diffstat (limited to 'api/src/glfs.h')
-rw-r--r--api/src/glfs.h13
1 files changed, 3 insertions, 10 deletions
diff --git a/api/src/glfs.h b/api/src/glfs.h
index ceed2b34290..842b17530a5 100644
--- a/api/src/glfs.h
+++ b/api/src/glfs.h
@@ -1148,16 +1148,9 @@ typedef void (*glfs_recall_cbk) (struct glfs_lease lease, void *data);
*/
struct gf_upcall;
-int glfs_lease (struct glfs_fd *glfd, struct glfs_lease *lease,
- glfs_recall_cbk fn, void *data) __THROW
- GFAPI_PUBLIC(glfs_lease, 4.0.0);
-int
-glfs_recall_lease_fd (struct glfs *fs, struct gf_upcall *up_data) __THROW
- GFAPI_PUBLIC(glfs_recall_lease_fd, 4.0.0);
-
int
-glfs_recall_lease_upcall (struct glfs *fs, struct glfs_upcall *up_arg,
- struct gf_upcall *up_data) __THROW
- GFAPI_PUBLIC(glfs_recall_lease_upcall, 4.0.0);
+glfs_lease (struct glfs_fd *glfd, struct glfs_lease *lease,
+ glfs_recall_cbk fn, void *data) __THROW
+ GFAPI_PUBLIC(glfs_lease, 4.0.0);
__END_DECLS
#endif /* !_GLFS_H */