diff options
author | Amar Tumballi <amar@gluster.com> | 2009-07-27 16:49:14 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-07-28 09:42:41 -0700 |
commit | e097c572b82a9c24b33d9eb00b87204ba44d6267 (patch) | |
tree | 65aa650d5c435c83d921643a50b8fb7a7c069014 | |
parent | c6fcc71d720b1cd550a8f1386020567786acf3b2 (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
-rw-r--r-- | xlators/protocol/server/src/server-helpers.c | 3 |
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 759a9ec82c0..dcec77e37db 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; } } |