diff options
| -rw-r--r-- | xlators/cluster/dht/src/dht-common.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/cluster/dht/src/dht-common.c b/xlators/cluster/dht/src/dht-common.c index e320107a832..f613108dcd4 100644 --- a/xlators/cluster/dht/src/dht-common.c +++ b/xlators/cluster/dht/src/dht-common.c @@ -750,7 +750,7 @@ dht_lookup_linkfile_create_cbk (call_frame_t *frame, void *cookie,          cached_subvol = local->cached_subvol;          conf = this->private; -        ret = dht_layout_preset (this, local->cached_subvol, inode); +        ret = dht_layout_preset (this, local->cached_subvol, local->loc.inode);          if (ret < 0) {                  gf_log (this->name, GF_LOG_DEBUG,                          "failed to set layout for subvolume %s",  | 
