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