summaryrefslogtreecommitdiffstats
path: root/xlators/performance/write-behind
diff options
context:
space:
mode:
authorRaghavendra G <raghavendra@gluster.com>2009-11-23 18:57:33 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-11-24 04:37:06 -0800
commitfe34bb798cbadc964447ad2fd60a870dc2891572 (patch)
tree2cfe0f9b5e49cdfaa57472af4a55af45d4a5ea1b /xlators/performance/write-behind
parent9aed8cd65940f99c9cdf647414d932750d2caf2d (diff)
performance/write-behind: 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/write-behind')
-rw-r--r--xlators/performance/write-behind/src/write-behind.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/performance/write-behind/src/write-behind.c b/xlators/performance/write-behind/src/write-behind.c
index bdbc21c97..e761740f6 100644
--- a/xlators/performance/write-behind/src/write-behind.c
+++ b/xlators/performance/write-behind/src/write-behind.c
@@ -540,7 +540,7 @@ wb_stat_cbk (call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret,
}
}
- STACK_UNWIND (frame, op_ret, op_errno, buf);
+ STACK_UNWIND_STRICT (stat, frame, op_ret, op_errno, buf);
if (request != NULL) {
wb_request_unref (request);
@@ -625,7 +625,7 @@ wb_stat (call_frame_t *frame, xlator_t *this, loc_t *loc)
op_errno = ENOMEM;
goto unwind;
}
-
+
request = wb_enqueue (file, stub);
if (request == NULL) {
op_errno = ENOMEM;