summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/dht/src/dht-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/cluster/dht/src/dht-common.c')
-rw-r--r--xlators/cluster/dht/src/dht-common.c2
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 7bce090cbd6..d7a16fa425d 100644
--- a/xlators/cluster/dht/src/dht-common.c
+++ b/xlators/cluster/dht/src/dht-common.c
@@ -3362,7 +3362,7 @@ dht_forget (xlator_t *this, inode_t *inode)
inode_ctx_get (inode, this, &tmp_layout);
- if (!layout)
+ if (!tmp_layout)
return 0;
layout = (dht_layout_t *)(long)tmp_layout;
if (!layout->preset)