summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorRaghavendra Bhat <raghavendrabhat@gluster.com>2010-06-24 01:01:48 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-06-25 03:25:24 -0700
commit907f9f95a21f21aab7269268c85c3ab65bb7224b (patch)
tree89286354fa0bf1722795248d7fd0f4092e9aa0c7 /xlators
parent17b810cf66876b495a6457f77c82d682f04551e7 (diff)
use STACK_UNWIND_STRICT to avoid postparent from having wrong address in dht_selfheal_dir_mkdir_cbk
Signed-off-by: Raghavendra Bhat <raghavendrabhat@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 1024 ([3.0.5rc6]: Crash in distriburte) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1024
Diffstat (limited to 'xlators')
-rw-r--r--xlators/protocol/client/src/client-protocol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/protocol/client/src/client-protocol.c b/xlators/protocol/client/src/client-protocol.c
index fc1f57e7b..b00211507 100644
--- a/xlators/protocol/client/src/client-protocol.c
+++ b/xlators/protocol/client/src/client-protocol.c
@@ -1059,7 +1059,7 @@ client_mkdir (call_frame_t *frame, xlator_t *this, loc_t *loc, mode_t mode)
unwind:
if (hdr)
free (hdr);
- STACK_UNWIND (frame, -1, EINVAL, loc->inode, NULL);
+ STACK_UNWIND_STRICT (mkdir, frame, -1, EINVAL, loc->inode, NULL, NULL, NULL);
return 0;
}