diff options
-rw-r--r-- | xlators/cluster/afr/src/afr-dir-read.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xlators/cluster/afr/src/afr-dir-read.c b/xlators/cluster/afr/src/afr-dir-read.c index 065221e1d74..91b9850b39b 100644 --- a/xlators/cluster/afr/src/afr-dir-read.c +++ b/xlators/cluster/afr/src/afr-dir-read.c @@ -261,6 +261,9 @@ afr_opendir_cbk (call_frame_t *frame, void *cookie, AFR_STACK_UNWIND (opendir, frame, local->op_ret, local->op_errno, local->fd); } + } else { + AFR_STACK_UNWIND (opendir, frame, local->op_ret, + local->op_errno, local->fd); } } |