From e8e2079d82d08daa600086895de3c2633b909188 Mon Sep 17 00:00:00 2001 From: Raghavendra Bhat Date: Fri, 3 Jun 2011 01:41:32 +0000 Subject: protocol/server: logging changes Signed-off-by: Raghavendra Bhat Signed-off-by: Anand Avati BUG: 2982 ([glusterfs-3.2.1qa2]: logging changes is server protocol) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2982 --- xlators/protocol/server/src/server-resolve.c | 9 --------- xlators/protocol/server/src/server3_1-fops.c | 2 +- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/xlators/protocol/server/src/server-resolve.c b/xlators/protocol/server/src/server-resolve.c index df16aef22..90eea114e 100644 --- a/xlators/protocol/server/src/server-resolve.c +++ b/xlators/protocol/server/src/server-resolve.c @@ -364,15 +364,6 @@ resolve_entry_simple (call_frame_t *frame) resolve->op_ret = -1; resolve->op_errno = ENOENT; ret = 1; - - inode = inode_grep (state->itable, parent, resolve->bname); - if (inode != NULL) { - gf_log (this->name, GF_LOG_DEBUG, "%"PRId64": inode " - "(pointer:%p ino: %"PRIu64") present but parent" - " is NULL for path (%s)", frame->root->unique, - inode, inode->ino, resolve->path); - inode_unref (inode); - } goto out; } diff --git a/xlators/protocol/server/src/server3_1-fops.c b/xlators/protocol/server/src/server3_1-fops.c index d18133b27..46034657a 100644 --- a/xlators/protocol/server/src/server3_1-fops.c +++ b/xlators/protocol/server/src/server3_1-fops.c @@ -327,7 +327,7 @@ server_entrylk_cbk (call_frame_t *frame, void *cookie, xlator_t *this, frame->root->lk_owner, GF_FOP_ENTRYLK); } else if (op_errno != ENOSYS) { gf_log (this->name, GF_LOG_TRACE, - "%"PRId64": INODELK %s (%"PRId64") ==> %"PRId32" (%s)", + "%"PRId64": ENTRYLK %s (%"PRId64") ==> %"PRId32" (%s)", frame->root->unique, state->loc.path, state->loc.inode ? state->loc.inode->ino : 0, op_ret, strerror (op_errno)); -- cgit