summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src
diff options
context:
space:
mode:
authorSoumya Koduri <skoduri@redhat.com>2018-01-10 14:54:30 +0530
committerNiels de Vos <ndevos@redhat.com>2018-01-19 09:27:40 +0000
commit9eefff096fd9b54120e4347b6b00f10a6c502cf4 (patch)
treee4fe682466d3462df5c59eb52753dcf3c599fbfa /libglusterfs/src
parenta40a87ec3b226ae86a6ed8f4af25b45965a20cad (diff)
gfapi : added glfs_setfsleaseid() for setting lease id
A new function glfs_setfsleaseid() added in gfapi. Currently lock owner is saved in the thread context. Similarly the leaseid attribute can be saved using glfs_setfsleaseid(). Updates: #350 Change-Id: I55966cca01d0f2649c32b87bd255568c3ffd1262 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 'libglusterfs/src')
-rw-r--r--libglusterfs/src/libglusterfs.sym1
1 files changed, 1 insertions, 0 deletions
diff --git a/libglusterfs/src/libglusterfs.sym b/libglusterfs/src/libglusterfs.sym
index dfa962c7072..613c18ed3e9 100644
--- a/libglusterfs/src/libglusterfs.sym
+++ b/libglusterfs/src/libglusterfs.sym
@@ -1094,3 +1094,4 @@ global_ctx_mutex
global_xlator
use_spinlocks
dump_options
+glusterfs_leaseid_buf_get