From d7c725f4ac8d0c20855f5ca1e4c2dcdddf422057 Mon Sep 17 00:00:00 2001 From: Susant Palai Date: Mon, 30 Jun 2014 07:01:10 -0400 Subject: DHT/mkdir : Fill the stbuf from the subvols on which directory creation was successful. Problem: In case a mkdir sees EEXIST on a non-hashed subvol it reports error to the application. Change-Id: I44b2f32fc1069e609d788b6d25b9366b1460395c BUG: 1114557 Signed-off-by: Susant Palai Reviewed-on: http://review.gluster.org/8203 Tested-by: Gluster Build System Reviewed-by: Shyamsundar Ranganathan Reviewed-by: Raghavendra G Reviewed-by: Anders Blomdell Reviewed-by: Vijay Bellur --- xlators/cluster/dht/src/dht-common.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'xlators/cluster') diff --git a/xlators/cluster/dht/src/dht-common.c b/xlators/cluster/dht/src/dht-common.c index c60fa56ffcf..7ccfc04cdfe 100644 --- a/xlators/cluster/dht/src/dht-common.c +++ b/xlators/cluster/dht/src/dht-common.c @@ -4602,10 +4602,6 @@ dht_mkdir_cbk (call_frame_t *frame, void *cookie, xlator_t *this, local->op_errno = op_errno; goto unlock; } - dht_iatt_merge (this, &local->stbuf, stbuf, prev->this); - dht_iatt_merge (this, &local->preparent, preparent, prev->this); - dht_iatt_merge (this, &local->postparent, postparent, - prev->this); } unlock: UNLOCK (&frame->lock); -- cgit