diff options
author | Venkatesh Somyajulu <vsomyaju@redhat.com> | 2014-06-16 15:39:57 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2014-06-16 09:11:14 -0700 |
commit | de22a20a76f5cf0af3ca2898f0bfd8324a191e0c (patch) | |
tree | 299fd2cc3e553b9394c4112dcf24d7450a681d07 /xlators/cluster/dht | |
parent | 7382b66de76101d625ed888ec7b7f82fd7da56d3 (diff) |
cluster/dht: make loc->inode instead of loc->parent
parent's inode should be taken from loc->inode.
Change-Id: I979b7333efa93b1e8f4c73ccf048d48e308f9289
BUG: 1104653
Signed-off-by: Venkatesh Somyajulu <vsomyaju@redhat.com>
Reviewed-on: http://review.gluster.org/8073
Reviewed-by: Krutika Dhananjay <kdhananj@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Raghavendra G <rgowdapp@redhat.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'xlators/cluster/dht')
-rw-r--r-- | xlators/cluster/dht/src/dht-rebalance.c | 2 |
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 603502c780c..888f32ac379 100644 --- a/xlators/cluster/dht/src/dht-rebalance.c +++ b/xlators/cluster/dht/src/dht-rebalance.c @@ -1673,7 +1673,7 @@ gf_defrag_fix_layout (xlator_t *this, gf_defrag_info_t *defrag, loc_t *loc, * error will be captured */ - linked_inode = inode_link (entry_loc.inode, loc->parent, + linked_inode = inode_link (entry_loc.inode, loc->inode, entry->d_name, &entry->d_stat); |