diff options
author | shishir gowda <shishirng@gluster.com> | 2010-07-19 06:15:34 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2010-07-19 05:11:20 -0700 |
commit | a81a794c9311f90551277670c0f9d201bd96abfc (patch) | |
tree | ed409d5f731aef754a65fd860445a75913d93269 /xlators/debug/error-gen | |
parent | 0985f3995e446e23ca6edc380b998581889ae5d0 (diff) |
debug/* Change STACK_UNWIND TO STACK_UNWIND_STRICT
Also fixed log msg typo found in bug 1031
Signed-off-by: shishir gowda <shishirng@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 269 (Add a specialized STACK_UNWIND macro for each FOP)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=269
Diffstat (limited to 'xlators/debug/error-gen')
-rw-r--r-- | xlators/debug/error-gen/src/error-gen.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xlators/debug/error-gen/src/error-gen.c b/xlators/debug/error-gen/src/error-gen.c index bfd5797b5..8e37d7a1c 100644 --- a/xlators/debug/error-gen/src/error-gen.c +++ b/xlators/debug/error-gen/src/error-gen.c @@ -395,7 +395,7 @@ error_gen_lookup (call_frame_t *frame, xlator_t *this, loc_t *loc, if (op_errno) { GF_ERROR(this, "unwind(-1, %s)", strerror (op_errno)); - STACK_UNWIND (frame, -1, op_errno, NULL, NULL, NULL, + STACK_UNWIND_STRICT (lookup, frame, -1, op_errno, NULL, NULL, NULL, NULL); return 0; } @@ -439,7 +439,7 @@ error_gen_stat (call_frame_t *frame, xlator_t *this, loc_t *loc) if (op_errno) { GF_ERROR(this, "unwind(-1, %s)", strerror (op_errno)); - STACK_UNWIND (frame, -1, op_errno, NULL); + STACK_UNWIND_STRICT (stat, frame, -1, op_errno, NULL); return 0; } @@ -1724,7 +1724,7 @@ int error_gen_getspec_cbk (call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, char *spec_data) { - STACK_UNWIND (frame, op_ret, op_errno, spec_data); + STACK_UNWIND_STRICT (getspec, frame, op_ret, op_errno, spec_data); return 0; } @@ -1746,7 +1746,7 @@ error_gen_getspec (call_frame_t *frame, xlator_t *this, const char *key, if (op_errno) { GF_ERROR(this, "unwind(-1, %s)", strerror (op_errno)); - STACK_UNWIND (frame, -1, op_errno, NULL); + STACK_UNWIND_STRICT (getspec, frame, -1, op_errno, NULL); return 0; } |