summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/dht/src/dht-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/cluster/dht/src/dht-common.c')
-rw-r--r--xlators/cluster/dht/src/dht-common.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/xlators/cluster/dht/src/dht-common.c b/xlators/cluster/dht/src/dht-common.c
index c0da25613d2..7504a46d871 100644
--- a/xlators/cluster/dht/src/dht-common.c
+++ b/xlators/cluster/dht/src/dht-common.c
@@ -4170,6 +4170,9 @@ dht_setxattr (call_frame_t *frame, xlator_t *this,
goto err;
}
+ if (gf_uuid_is_null (local->loc.pargfid))
+ gf_uuid_copy (local->loc.pargfid, local->loc.parent->gfid);
+
methods->migration_get_dst_subvol(this, local);
if (!local->rebalance.target_node) {