diff options
author | Poornima G <pgurusid@redhat.com> | 2015-07-09 15:06:49 +0530 |
---|---|---|
committer | Pranith Kumar Karampuri <pkarampu@redhat.com> | 2016-04-21 03:01:38 -0700 |
commit | 63918789fbb5f3a2d381e0f960f2dcbaf1b7ff72 (patch) | |
tree | 885377e1dcb957a2215c73ef7e908f726e2109ae /libglusterfs/src/generator.py | |
parent | e964dd74fa805124005a5b2cb031ecbc34198b9a (diff) |
core: add lease fop
Change-Id: Ia27d66b1061b0377857827515590eb89b18515c9
BUG: 1319992
Signed-off-by: Poornima G <pgurusid@redhat.com>
Reviewed-on: http://review.gluster.org/11596
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.com>
Smoke: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Rajesh Joseph <rjoseph@redhat.com>
Reviewed-by: Raghavendra Talur <rtalur@redhat.com>
Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Diffstat (limited to 'libglusterfs/src/generator.py')
-rwxr-xr-x | libglusterfs/src/generator.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libglusterfs/src/generator.py b/libglusterfs/src/generator.py index 8b854b2e7f7..15e31e3aa73 100755 --- a/libglusterfs/src/generator.py +++ b/libglusterfs/src/generator.py @@ -534,6 +534,14 @@ ops['getspec'] = ( ('cbk-arg', 'spec_data', 'char *'), ) +ops['lease'] = ( + ('fop-arg', 'loc', 'loc_t *'), + ('fop-arg', 'lease', 'struct gf_lease *'), + ('fop-arg', 'xdata', 'dict_t *'), + ('cbk-arg', 'lease', 'struct gf_lease *'), + ('cbk-arg', 'xdata', 'dict_t *'), +) + ##################################################################### xlator_cbks['forget'] = ( ('fn-arg', 'this', 'xlator_t *'), |