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