summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2010-10-14 02:34:01 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-10-24 22:43:16 -0700
commit44b27f7ec27173c5d12c12aa3947cc1f409d8c1f (patch)
tree203d13a5e42fa5edb3b1da7e761bdb49781dafb4 /xlators
parent14d2ed37a966a10d8553e8b5a5283d35f9addc7e (diff)
client: decrement the 'openfd' count in case of opendir_cbk too
Signed-off-by: Amar Tumballi <amar@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 875 (Implement a new protocol to provide proper backward/forward compatibility) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=875
Diffstat (limited to 'xlators')
-rw-r--r--xlators/protocol/client/src/client3_1-fops.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xlators/protocol/client/src/client3_1-fops.c b/xlators/protocol/client/src/client3_1-fops.c
index d69d9f841..6c48421f4 100644
--- a/xlators/protocol/client/src/client3_1-fops.c
+++ b/xlators/protocol/client/src/client3_1-fops.c
@@ -2184,6 +2184,8 @@ client3_1_reopendir_cbk (struct rpc_req *req, struct iovec *iov, int count,
}
}
+ decrement_reopen_fd_count (frame->this, conf);
+
out:
if (fdctx)
client_fdctx_destroy (frame->this, fdctx);