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