summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
}
}