From 8225fd2307d8a5a9bba4f21b5534b8469f679605 Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Mon, 27 Jul 2009 16:48:37 +0000 Subject: server-protocol: fix in server-loc-fill() to continue with 'hashed' inode, even if inode_path() on the inode fails. This will is needed for few lock operations, to unlock the lock held on inode. (ie, it fixes 'rm -rf *' hang issue, seen from multiple clients). Signed-off-by: Anand V. Avati BUG: 112 (parallel deletion of files mounted by different clients on the same back-end hangs and/or does not completely delete) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=112 --- xlators/protocol/server/src/server-helpers.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'xlators/protocol/server/src') diff --git a/xlators/protocol/server/src/server-helpers.c b/xlators/protocol/server/src/server-helpers.c index 03a3598dfb7..14797508dc4 100644 --- a/xlators/protocol/server/src/server-helpers.c +++ b/xlators/protocol/server/src/server-helpers.c @@ -85,9 +85,6 @@ server_loc_fill (loc_t *loc, server_state_t *state, gf_log (state->bound_xl->name, GF_LOG_DEBUG, "failed to build path for %"PRId64": %s", inode->ino, strerror (-ret)); - - inode_unref (loc->inode); - loc->inode = NULL; } } -- cgit