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/default-args.h | |
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/default-args.h')
-rw-r--r-- | libglusterfs/src/default-args.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libglusterfs/src/default-args.h b/libglusterfs/src/default-args.h index 8b32a012a1d..a6ed0e484da 100644 --- a/libglusterfs/src/default-args.h +++ b/libglusterfs/src/default-args.h @@ -269,6 +269,11 @@ args_seek_cbk_store (default_args_cbk_t *args, int32_t op_ret, int32_t op_errno, off_t offset, dict_t *xdata); void +args_lease_cbk_store (default_args_cbk_t *args, + int32_t op_ret, int32_t op_errno, + struct gf_lease *lease, dict_t *xdata); + +void args_cbk_wipe (default_args_cbk_t *args_cbk); int @@ -459,4 +464,8 @@ int args_seek_store (default_args_t *args, fd_t *fd, off_t offset, gf_seek_what_t what, dict_t *xdata); +void +args_lease_store (default_args_t *args, loc_t *loc, struct gf_lease *lease, + dict_t *xdata); + #endif /* _DEFAULT_ARGS_H */ |