From 907f9f95a21f21aab7269268c85c3ab65bb7224b Mon Sep 17 00:00:00 2001 From: Raghavendra Bhat Date: Thu, 24 Jun 2010 01:01:48 +0000 Subject: use STACK_UNWIND_STRICT to avoid postparent from having wrong address in dht_selfheal_dir_mkdir_cbk Signed-off-by: Raghavendra Bhat Signed-off-by: Anand V. Avati BUG: 1024 ([3.0.5rc6]: Crash in distriburte) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1024 --- xlators/protocol/client/src/client-protocol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators') 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; } -- cgit