diff options
author | Raghavendra G <raghavendra@gluster.com> | 2009-11-23 18:56:22 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-11-24 04:36:49 -0800 |
commit | 54188f9d8878b2a961050e001658f35e163caebc (patch) | |
tree | 6133a8361ef43a2b7fe063e5df45fc1af6115b2c /xlators/performance/stat-prefetch/src/stat-prefetch.h | |
parent | 7c6bc261e7d60bb1c4103c2e2e64a8ab89aa66e9 (diff) |
performance/stat-prefetch: use STACK_UNWIND_STRICT for unwinding.
Signed-off-by: Raghavendra G <raghavendra@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/performance/stat-prefetch/src/stat-prefetch.h')
-rw-r--r-- | xlators/performance/stat-prefetch/src/stat-prefetch.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/xlators/performance/stat-prefetch/src/stat-prefetch.h b/xlators/performance/stat-prefetch/src/stat-prefetch.h index 0245703fac7..a2c1e4f162d 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 { \ |