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