summaryrefslogtreecommitdiffstats
path: root/xlators/cluster
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/cluster')
-rw-r--r--xlators/cluster/afr/src/afr-dir-read.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/cluster/afr/src/afr-dir-read.c b/xlators/cluster/afr/src/afr-dir-read.c
index 0f9bdf59eae..e23aa414fec 100644
--- a/xlators/cluster/afr/src/afr-dir-read.c
+++ b/xlators/cluster/afr/src/afr-dir-read.c
@@ -240,7 +240,7 @@ afr_opendir_cbk (call_frame_t *frame, void *cookie,
if (local->op_ret == 0) {
ret = afr_fd_ctx_set (this, local->fd);
- if (!afr_is_opendir_done (this, fd->inode)) {
+ if (!afr_is_opendir_done (this, local->fd->inode)) {
/*
* This is the first opendir on this inode. We need