diff options
| -rw-r--r-- | xlators/cluster/dht/src/dht-common.c | 5 | 
1 files changed, 2 insertions, 3 deletions
diff --git a/xlators/cluster/dht/src/dht-common.c b/xlators/cluster/dht/src/dht-common.c index ec6e3d857c1..d41d07fc6e8 100644 --- a/xlators/cluster/dht/src/dht-common.c +++ b/xlators/cluster/dht/src/dht-common.c @@ -6341,8 +6341,7 @@ dht_populate_inode_for_dentry (xlator_t *this, xlator_t *subvol,          loc.inode = inode_ref (orig_entry->inode);          if (is_revalidate (&loc)) { -                loc_wipe (&loc); -                return; +                goto out;          }          layout = dht_layout_new (this, 1); @@ -6358,13 +6357,13 @@ dht_populate_inode_for_dentry (xlator_t *this, xlator_t *subvol,                          layout = NULL;                  } -                loc_wipe (&loc);          }          if (layout)                  dht_layout_unref (this, layout);  out: +        loc_wipe (&loc);          return;  }  | 
