summaryrefslogtreecommitdiffstats
path: root/xlators/performance/write-behind
diff options
context:
space:
mode:
authorVijay Bellur <vijay@gluster.com>2009-10-14 02:07:25 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-10-14 00:47:39 -0700
commit65f02619c7d4b29caa8dd11b78c294c521116f12 (patch)
tree1df3e38cfe25586b45437156add6f6074e70dca4 /xlators/performance/write-behind
parent7c4429b9631c3c9866620887d6a41030466f71e3 (diff)
performance/write-behind: return from wb_open after STACK_WIND
Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 312 (iozone crash in Distribute-Replicate) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=312
Diffstat (limited to 'xlators/performance/write-behind')
-rw-r--r--xlators/performance/write-behind/src/write-behind.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/performance/write-behind/src/write-behind.c b/xlators/performance/write-behind/src/write-behind.c
index ef460b1123e..769fb507d99 100644
--- a/xlators/performance/write-behind/src/write-behind.c
+++ b/xlators/performance/write-behind/src/write-behind.c
@@ -1299,6 +1299,7 @@ wb_open (call_frame_t *frame, xlator_t *this, loc_t *loc, int32_t flags,
FIRST_CHILD(this),
FIRST_CHILD(this)->fops->open,
loc, flags, fd, wbflags);
+ return 0;
unwind:
STACK_UNWIND_STRICT (open, frame, -1, op_errno, NULL);