diff options
| author | Soumya Koduri <skoduri@redhat.com> | 2018-10-10 21:37:07 +0530 |
|---|---|---|
| committer | Soumya Koduri <skoduri@redhat.com> | 2018-10-22 22:06:03 +0530 |
| commit | fa4710bb8fbc852971d763d8727e3755436ea9c8 (patch) | |
| tree | ae1a24de2d7afd5fdef30e188a3c82515be44ee9 /api/src/gfapi.aliases | |
| parent | b63dfd84fc8b3e08e3f005f71bf493c633452612 (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 below mainline path -
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.aliases')
| -rw-r--r-- | api/src/gfapi.aliases | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/api/src/gfapi.aliases b/api/src/gfapi.aliases index 74053b9af6a..fd4f437ccc3 100644 --- a/api/src/gfapi.aliases +++ b/api/src/gfapi.aliases @@ -174,3 +174,5 @@ _pub_glfs_setfsleaseid _glfs_setfsleaseid$GFAPI_4.0.0 _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_upcall_lease_get_object _glfs_upcall_lease_get_object$GFAPI_4.1.6 +_pub_glfs_upcall_lease_get_lease_type _glfs_upcall_lease_get_lease_type$GFAPI_4.1.6 |
