diff options
| author | Amar Tumballi <amar@gluster.com> | 2010-05-04 00:37:01 +0000 | 
|---|---|---|
| committer | Anand V. Avati <avati@dev.gluster.com> | 2010-05-03 23:40:10 -0700 | 
| commit | 7840d9de272ef2f24c4c755a857ad8ae06703b55 (patch) | |
| tree | 6d212b7d72f00605b80503508c146b205280208c /libglusterfs/src/stack.h | |
| parent | f75b76350747f5f58a4bbe704915c74979cc5ac3 (diff) | |
frame's 'op', 'type' restructured
Signed-off-by: Amar Tumballi <amar@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 875 (Implement a new protocol to provide proper backward/forward compatibility)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=875
Diffstat (limited to 'libglusterfs/src/stack.h')
| -rw-r--r-- | libglusterfs/src/stack.h | 7 | 
1 files changed, 3 insertions, 4 deletions
diff --git a/libglusterfs/src/stack.h b/libglusterfs/src/stack.h index c80ab9e9d32..48b5587ac4f 100644 --- a/libglusterfs/src/stack.h +++ b/libglusterfs/src/stack.h @@ -118,11 +118,10 @@ struct _call_stack_t {          } while (0);                                                    \  struct xlator_fops; -struct xlator_mops;  void  gf_set_fop_from_fn_pointer (call_frame_t *frame, struct xlator_fops *fops, -                            struct xlator_mops *mops, void *fn); +                            void *fn);  void  gf_update_latency (call_frame_t *frame); @@ -202,7 +201,7 @@ STACK_DESTROY (call_stack_t *stack)                                                                          \                  if (((xlator_t *) obj)->ctx->measure_latency) {         \                          gettimeofday (&_new->begin, NULL);              \ -                        gf_set_fop_from_fn_pointer (_new, ((xlator_t *)obj)->fops, ((xlator_t *)obj)->mops, fn); \ +                        gf_set_fop_from_fn_pointer (_new, ((xlator_t *)obj)->fops, fn); \                  }                                                       \                                                                          \                  old_THIS = THIS;                                        \ @@ -238,7 +237,7 @@ STACK_DESTROY (call_stack_t *stack)                                                                          \                  if (((xlator_t *) obj)->ctx->measure_latency) {         \                          gettimeofday (&_new->begin, NULL);              \ -                        gf_set_fop_from_fn_pointer (_new, ((xlator_t *)obj)->fops, ((xlator_t *)obj)->mops, fn); \ +                        gf_set_fop_from_fn_pointer (_new, ((xlator_t *)obj)->fops, fn); \                  }                                                       \                                                                          \                  old_THIS = THIS;                                        \  | 
