summaryrefslogtreecommitdiffstats
path: root/api/src/gfapi.map
diff options
context:
space:
mode:
authorSoumya Koduri <skoduri@redhat.com>2018-10-10 21:37:07 +0530
committerShyamsundar Ranganathan <srangana@redhat.com>2018-10-18 13:26:29 +0000
commit2f2872b335018a7fa4b61193f2e6404bef8864ed (patch)
tree7d0d7cc1c7c0a977ea122b7eaef251baf304afa6 /api/src/gfapi.map
parentfadf0c8dc600c57142b012fea5becf016fa1929e (diff)
gfapi: Bug fixes in leases processing code-path
This patch fixes below issues in gfapi lease code-path * 'glfs_setfsleasid' should allow NULL input to be able to reset leaseid * Applications should be allowed to (un)register for upcall notifications of type GLFS_EVENT_LEASE_RECALL * APIs added to read contents of GLFS_EVENT_LEASE_RECALL argument which is of type "struct glfs_upcall_lease" This is backport of the below mainline patch - https://review.gluster.org/#/c/glusterfs/+/21391 Change-Id: I3320ddf235cc82fad561e13b9457ebd64db6c76b updates: #350 Signed-off-by: Soumya Koduri <skoduri@redhat.com>
Diffstat (limited to 'api/src/gfapi.map')
-rw-r--r--api/src/gfapi.map5
1 files changed, 5 insertions, 0 deletions
diff --git a/api/src/gfapi.map b/api/src/gfapi.map
index 8eeec71fb53..0e886dd84b8 100644
--- a/api/src/gfapi.map
+++ b/api/src/gfapi.map
@@ -235,3 +235,8 @@ GFAPI_4.0.0 {
glfs_lease;
glfs_h_lease;
} GFAPI_3.13.0;
+
+GFAPI_4.1.6 {
+ glfs_upcall_lease_get_object;
+ glfs_upcall_lease_get_lease_type;
+} GFAPI_4.0.0;