summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/afr/src/afr-dir-read.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/cluster/afr/src/afr-dir-read.c')
-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 92e23659f32..a9b44579b13 100644
--- a/xlators/cluster/afr/src/afr-dir-read.c
+++ b/xlators/cluster/afr/src/afr-dir-read.c
@@ -239,7 +239,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