diff options
Diffstat (limited to 'libglusterfs/src/call-stub.h')
-rw-r--r-- | libglusterfs/src/call-stub.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libglusterfs/src/call-stub.h b/libglusterfs/src/call-stub.h index fa0ec69cb64..9b73a154128 100644 --- a/libglusterfs/src/call-stub.h +++ b/libglusterfs/src/call-stub.h @@ -75,6 +75,7 @@ typedef struct _call_stub { fop_ipc_t ipc; fop_seek_t seek; fop_lease_t lease; + fop_getactivelk_t getactivelk; } fn; union { @@ -125,6 +126,7 @@ typedef struct _call_stub { fop_ipc_cbk_t ipc; fop_seek_cbk_t seek; fop_lease_cbk_t lease; + fop_getactivelk_cbk_t getactivelk; } fn_cbk; default_args_t args; @@ -740,6 +742,15 @@ fop_lease_cbk_stub (call_frame_t *frame, fop_lease_cbk_t fn, int32_t op_ret, int32_t op_errno, struct gf_lease *lease, dict_t *xdata); +call_stub_t * +fop_getactivelk_stub (call_frame_t *frame, fop_getactivelk_t fn, + loc_t *loc, dict_t *xdata); + +call_stub_t * +fop_getactivelk_cbk_stub (call_frame_t *frame, fop_getactivelk_cbk_t fn, + int32_t op_ret, int32_t op_errno, + lock_migration_info_t *lmi, dict_t *xdata); + void call_resume (call_stub_t *stub); void call_stub_destroy (call_stub_t *stub); void call_unwind_error (call_stub_t *stub, int op_ret, int op_errno); |