From a303cd1acc3c9ff475fe5ece643de4cbea1c1a51 Mon Sep 17 00:00:00 2001 From: Soumya Koduri Date: Wed, 10 Oct 2018 21:37:07 +0530 Subject: 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" Change-Id: I3320ddf235cc82fad561e13b9457ebd64db6c76b updates: #350 Signed-off-by: Soumya Koduri --- api/src/gfapi.map | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'api/src/gfapi.map') diff --git a/api/src/gfapi.map b/api/src/gfapi.map index e91cd4d710b..c47323781fb 100644 --- a/api/src/gfapi.map +++ b/api/src/gfapi.map @@ -230,6 +230,11 @@ GFAPI_4.0.0 { 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; + GFAPI_future { global: glfs_read_async; @@ -250,5 +255,5 @@ GFAPI_future { glfs_ftruncate_async; glfs_discard_async; glfs_zerofill_async; -} GFAPI_4.0.0; +} GFAPI_4.1.6; -- cgit