From 54188f9d8878b2a961050e001658f35e163caebc Mon Sep 17 00:00:00 2001 From: Raghavendra G Date: Mon, 23 Nov 2009 18:56:22 +0000 Subject: performance/stat-prefetch: use STACK_UNWIND_STRICT for unwinding. Signed-off-by: Raghavendra G 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/performance/stat-prefetch/src/stat-prefetch.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'xlators/performance/stat-prefetch/src/stat-prefetch.h') diff --git a/xlators/performance/stat-prefetch/src/stat-prefetch.h b/xlators/performance/stat-prefetch/src/stat-prefetch.h index 0245703fa..a2c1e4f16 100644 --- a/xlators/performance/stat-prefetch/src/stat-prefetch.h +++ b/xlators/performance/stat-prefetch/src/stat-prefetch.h @@ -80,11 +80,11 @@ typedef struct sp_inode_ctx sp_inode_ctx_t; void sp_local_free (sp_local_t *local); -#define SP_STACK_UNWIND(frame, params ...) do { \ - sp_local_t *__local = frame->local; \ - frame->local = NULL; \ - STACK_UNWIND (frame, params); \ - sp_local_free (__local); \ +#define SP_STACK_UNWIND(op, frame, params ...) do { \ + sp_local_t *__local = frame->local; \ + frame->local = NULL; \ + STACK_UNWIND_STRICT (op, frame, params); \ + sp_local_free (__local); \ } while (0) #define SP_STACK_DESTROY(frame) do { \ -- cgit