diff options
Diffstat (limited to 'xlators/cluster/dht/src')
| -rw-r--r-- | xlators/cluster/dht/src/dht-helper.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/cluster/dht/src/dht-helper.c b/xlators/cluster/dht/src/dht-helper.c index 1a5ba256ffd..4c57e0d2efc 100644 --- a/xlators/cluster/dht/src/dht-helper.c +++ b/xlators/cluster/dht/src/dht-helper.c @@ -1919,10 +1919,10 @@ dht_heal_path(xlator_t *this, char *path, inode_table_t *itable)               */              linked_inode = loc.inode;              bname = strtok_r(NULL, "/", &save_ptr); -            inode_unref(loc.parent);              if (!bname) {                  goto out;              } +            inode_unref(loc.parent);              loc.parent = loc.inode;              gf_uuid_copy(loc.pargfid, loc.inode->gfid);              loc.inode = NULL;  | 
