diff options
author | Soumya Koduri <skoduri@redhat.com> | 2018-01-10 15:01:59 +0530 |
---|---|---|
committer | Niels de Vos <ndevos@redhat.com> | 2018-01-26 12:33:42 +0000 |
commit | 1a519f4bf960c6aafecfb189e8ec8b153abcf6ce (patch) | |
tree | c9f863b427ca03a1ba6321403314a3766b136abb /api/src/glfs.c | |
parent | cd66e4edae84033f426820e359927272ad4ae641 (diff) | |
download | glusterfs-1a519f4bf960c6aafecfb189e8ec8b153abcf6ce.tar.gz glusterfs-1a519f4bf960c6aafecfb189e8ec8b153abcf6ce.tar.xz glusterfs-1a519f4bf960c6aafecfb189e8ec8b153abcf6ce.zip |
gfapi : New APIs have been added to use lease feature in gluster
Following APIs glfs_h_lease(), glfs_lease() added, so that gfapi applications
can set and get lease which enables more efficient client side caching.
Updates: #350
Change-Id: Iede85be9af1d4df969b890d0937ed0afa4ca6596
Signed-off-by: Poornima G <pgurusid@redhat.com>
Signed-off-by: Soumya Koduri <skoduri@redhat.com>
Signed-off-by: Jiffin Tony Thottan <jthottan@redhat.com>
Diffstat (limited to 'api/src/glfs.c')
-rw-r--r-- | api/src/glfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/src/glfs.c b/api/src/glfs.c index 8c6916d0d8..2a7ae2f398 100644 --- a/api/src/glfs.c +++ b/api/src/glfs.c @@ -597,7 +597,7 @@ pub_glfs_setfsgroups (size_t size, const gid_t *list) GFAPI_SYMVER_PUBLIC_DEFAULT(glfs_setfsgroups, 3.4.2); int -pub_glfs_setfsleaseid (leaseid_t leaseid) +pub_glfs_setfsleaseid (glfs_leaseid_t leaseid) { int ret = -1; char *gleaseid = NULL; |