From 44b27f7ec27173c5d12c12aa3947cc1f409d8c1f Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Thu, 14 Oct 2010 02:34:01 +0000 Subject: client: decrement the 'openfd' count in case of opendir_cbk too Signed-off-by: Amar Tumballi Signed-off-by: Anand V. Avati 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 --- xlators/protocol/client/src/client3_1-fops.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'xlators/protocol/client') diff --git a/xlators/protocol/client/src/client3_1-fops.c b/xlators/protocol/client/src/client3_1-fops.c index d69d9f84143..6c48421f413 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); -- cgit