14f8ab
From 96072cea4da1c2ba5bd87307f20b3ee2cbe6f63d Mon Sep 17 00:00:00 2001
14f8ab
From: Mohammed Rafi KC <rkavunga@redhat.com>
14f8ab
Date: Thu, 11 Jul 2019 12:46:10 +0530
14f8ab
Subject: [PATCH 238/255] Revert "xlator/log: Add more logging in
14f8ab
 xlator_is_cleanup_starting"
14f8ab
14f8ab
This reverts commit 9b94397a5a735910fab2a29670146a1feb6d890e.
14f8ab
14f8ab
BUG: 1471742
14f8ab
Change-Id: Icc3f0c8741ed780e265202adbb009063f657c7f7
14f8ab
Signed-off-by: Mohammed Rafi KC <rkavunga@redhat.com>
14f8ab
Reviewed-on: https://code.engineering.redhat.com/gerrit/175947
14f8ab
Tested-by: RHGS Build Bot <nigelb@redhat.com>
14f8ab
Reviewed-by: Sunil Kumar Heggodu Gopala Acharya <sheggodu@redhat.com>
14f8ab
---
14f8ab
 libglusterfs/src/xlator.c | 12 +++---------
14f8ab
 1 file changed, 3 insertions(+), 9 deletions(-)
14f8ab
14f8ab
diff --git a/libglusterfs/src/xlator.c b/libglusterfs/src/xlator.c
14f8ab
index 71e1ed4..fbfbbe2 100644
14f8ab
--- a/libglusterfs/src/xlator.c
14f8ab
+++ b/libglusterfs/src/xlator.c
14f8ab
@@ -1494,18 +1494,12 @@ xlator_is_cleanup_starting(xlator_t *this)
14f8ab
     glusterfs_graph_t *graph = NULL;
14f8ab
     xlator_t *xl = NULL;
14f8ab
 
14f8ab
-    if (!this) {
14f8ab
-        gf_msg("xlator", GF_LOG_WARNING, EINVAL, LG_MSG_INVALID_ARG,
14f8ab
-               "xlator object is null, returning false");
14f8ab
+    if (!this)
14f8ab
         goto out;
14f8ab
-    }
14f8ab
-
14f8ab
     graph = this->graph;
14f8ab
-    if (!graph) {
14f8ab
-        gf_msg("xlator", GF_LOG_WARNING, EINVAL, LG_MSG_INVALID_ARG,
14f8ab
-               "Graph is not set for xlator %s", this->name);
14f8ab
+
14f8ab
+    if (!graph)
14f8ab
         goto out;
14f8ab
-    }
14f8ab
 
14f8ab
     xl = graph->first;
14f8ab
     if (xl && xl->cleanup_starting)
14f8ab
-- 
14f8ab
1.8.3.1
14f8ab