From a81a794c9311f90551277670c0f9d201bd96abfc Mon Sep 17 00:00:00 2001 From: shishir gowda Date: Mon, 19 Jul 2010 06:15:34 +0000 Subject: debug/* Change STACK_UNWIND TO STACK_UNWIND_STRICT Also fixed log msg typo found in bug 1031 Signed-off-by: shishir gowda Signed-off-by: Anand V. Avati BUG: 269 (Add a specialized STACK_UNWIND macro for each FOP) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=269 --- xlators/debug/error-gen/src/error-gen.c | 8 ++++---- xlators/debug/io-stats/src/io-stats.c | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'xlators') 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; } diff --git a/xlators/debug/io-stats/src/io-stats.c b/xlators/debug/io-stats/src/io-stats.c index 3866ff460..97a14ce45 100644 --- a/xlators/debug/io-stats/src/io-stats.c +++ b/xlators/debug/io-stats/src/io-stats.c @@ -642,7 +642,7 @@ int io_stats_getxattr_cbk (call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, dict_t *dict) { - STACK_UNWIND (frame, op_ret, op_errno, dict); + STACK_UNWIND_STRICT (getxattr, frame, op_ret, op_errno, dict); return 0; } -- cgit