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