summaryrefslogtreecommitdiffstats
path: root/xlators/protocol/server/src
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2009-07-27 16:48:37 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-07-28 09:42:40 -0700
commit8225fd2307d8a5a9bba4f21b5534b8469f679605 (patch)
tree7e91ea9ba994f4882fac1661be7fac671111fc23 /xlators/protocol/server/src
parent152e36883a79c0d73e0725357a4a2870b06eb75b (diff)
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 <avati@dev.gluster.com> 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
Diffstat (limited to 'xlators/protocol/server/src')
-rw-r--r--xlators/protocol/server/src/server-helpers.c3
1 files changed, 0 insertions, 3 deletions
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;
}
}