summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/dht/src/dht-rebalance.c
diff options
context:
space:
mode:
authorSoumya Koduri <skoduri@redhat.com>2015-07-10 11:23:07 +0530
committerKaleb KEITHLEY <kkeithle@redhat.com>2015-07-10 10:42:26 -0700
commit2992c18c1370ada476223b496e4e970d70cdd359 (patch)
tree7df2ec2afc8811edc7c77089946afbec4f06b214 /xlators/cluster/dht/src/dht-rebalance.c
parent11ac70c8b6aefe3e82b7f1bd3f661206465c3ef8 (diff)
syncop: Include iatt to 'syncop_link' args
Include iatt to 'syncop_link' args to fetch proper attributes of the newly linked inode. Signed-off-by: Soumya Koduri <skoduri@redhat.com> Change-Id: If6b92961bd7a89add3791ed3a9b494087348b492 BUG: 1241788 Reviewed-on: http://review.gluster.org/11611 Tested-by: NetBSD Build System <jenkins@build.gluster.org> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Shyamsundar Ranganathan <srangana@redhat.com> Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com>
Diffstat (limited to 'xlators/cluster/dht/src/dht-rebalance.c')
-rw-r--r--xlators/cluster/dht/src/dht-rebalance.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/cluster/dht/src/dht-rebalance.c b/xlators/cluster/dht/src/dht-rebalance.c
index 9aefdabf153..6978d788303 100644
--- a/xlators/cluster/dht/src/dht-rebalance.c
+++ b/xlators/cluster/dht/src/dht-rebalance.c
@@ -316,7 +316,7 @@ gf_defrag_handle_hardlink (xlator_t *this, loc_t *loc, dict_t *xattrs,
hashed_subvol = linkto_subvol;
}
- ret = syncop_link (hashed_subvol, loc, loc, NULL, NULL);
+ ret = syncop_link (hashed_subvol, loc, loc, &iatt, NULL, NULL);
if (ret) {
op_errno = -ret;
ret = -1;