summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src
diff options
context:
space:
mode:
authorGirjesh Rajoria <grajoria@redhat.com>2017-11-03 02:42:23 +0530
committerJeff Darcy <jeff@pl.atyp.us>2017-11-09 13:21:11 +0000
commit0821a57bd2e7518d1c8df2d4403a2dfbb8ee5b6b (patch)
tree92ef9d2beca6b5e144a615afc9f2203a4c971862 /xlators/mgmt/glusterd/src
parent9eea263043e86ebd79ae72cc79ce4c22f336f958 (diff)
Coverity Issue: PW.INCLUDE_RECURSION in several files
Coverity ID: 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 423, 424, 425, 426, 427, 428, 429, 436, 437, 438, 439, 440, 441, 442, 443 Issue: Event include_recursion Removed redundant, recursive includes from the files. Change-Id: I920776b1fa089a2d4917ca722d0075a9239911a7 BUG: 789278 Signed-off-by: Girjesh Rajoria <grajoria@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-handler.c2
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-hooks.c1
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-op-sm.h1
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-pmap.h1
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-rebalance.c1
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-sm.h1
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-snapshot.c1
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-store.c1
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-store.h1
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-utils.c1
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-utils.h1
-rw-r--r--xlators/mgmt/glusterd/src/glusterd.h1
12 files changed, 0 insertions, 13 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-handler.c b/xlators/mgmt/glusterd/src/glusterd-handler.c
index acf9da703f0..eacf818bfc6 100644
--- a/xlators/mgmt/glusterd/src/glusterd-handler.c
+++ b/xlators/mgmt/glusterd/src/glusterd-handler.c
@@ -9,7 +9,6 @@
*/
#include <inttypes.h>
-#include "globals.h"
#include "glusterfs.h"
#include "compat.h"
#include "dict.h"
@@ -48,7 +47,6 @@
#include "common-utils.h"
-#include "globals.h"
#include "glusterd-syncop.h"
#include "glusterd-messages.h"
diff --git a/xlators/mgmt/glusterd/src/glusterd-hooks.c b/xlators/mgmt/glusterd/src/glusterd-hooks.c
index fa88b667c14..b310bc2a109 100644
--- a/xlators/mgmt/glusterd/src/glusterd-hooks.c
+++ b/xlators/mgmt/glusterd/src/glusterd-hooks.c
@@ -8,7 +8,6 @@
cases as published by the Free Software Foundation.
*/
-#include "globals.h"
#include "glusterfs.h"
#include "dict.h"
#include "xlator.h"
diff --git a/xlators/mgmt/glusterd/src/glusterd-op-sm.h b/xlators/mgmt/glusterd/src/glusterd-op-sm.h
index 48275c57e12..7139a27ffb4 100644
--- a/xlators/mgmt/glusterd/src/glusterd-op-sm.h
+++ b/xlators/mgmt/glusterd/src/glusterd-op-sm.h
@@ -18,7 +18,6 @@
#include "xlator.h"
#include "logging.h"
#include "call-stub.h"
-#include "fd.h"
#include "byte-order.h"
#include "glusterd.h"
#include "protocol-common.h"
diff --git a/xlators/mgmt/glusterd/src/glusterd-pmap.h b/xlators/mgmt/glusterd/src/glusterd-pmap.h
index b0fa8aca559..04004c2b2af 100644
--- a/xlators/mgmt/glusterd/src/glusterd-pmap.h
+++ b/xlators/mgmt/glusterd/src/glusterd-pmap.h
@@ -17,7 +17,6 @@
#include "xlator.h"
#include "logging.h"
#include "call-stub.h"
-#include "fd.h"
#include "byte-order.h"
#include "rpcsvc.h"
diff --git a/xlators/mgmt/glusterd/src/glusterd-rebalance.c b/xlators/mgmt/glusterd/src/glusterd-rebalance.c
index bbf624b44c5..02c47be8234 100644
--- a/xlators/mgmt/glusterd/src/glusterd-rebalance.c
+++ b/xlators/mgmt/glusterd/src/glusterd-rebalance.c
@@ -13,7 +13,6 @@
#include <sys/resource.h>
#include <sys/statvfs.h>
-#include "globals.h"
#include "compat.h"
#include "protocol-common.h"
#include "xlator.h"
diff --git a/xlators/mgmt/glusterd/src/glusterd-sm.h b/xlators/mgmt/glusterd/src/glusterd-sm.h
index 9e4fe33b558..640468830d5 100644
--- a/xlators/mgmt/glusterd/src/glusterd-sm.h
+++ b/xlators/mgmt/glusterd/src/glusterd-sm.h
@@ -18,7 +18,6 @@
#include "xlator.h"
#include "logging.h"
#include "call-stub.h"
-#include "fd.h"
#include "byte-order.h"
//#include "glusterd.h"
#include "rpcsvc.h"
diff --git a/xlators/mgmt/glusterd/src/glusterd-snapshot.c b/xlators/mgmt/glusterd/src/glusterd-snapshot.c
index e41f0cd7b75..70692fc0862 100644
--- a/xlators/mgmt/glusterd/src/glusterd-snapshot.c
+++ b/xlators/mgmt/glusterd/src/glusterd-snapshot.c
@@ -35,7 +35,6 @@
#include <regex.h>
-#include "globals.h"
#include "compat.h"
#include "protocol-common.h"
#include "xlator.h"
diff --git a/xlators/mgmt/glusterd/src/glusterd-store.c b/xlators/mgmt/glusterd/src/glusterd-store.c
index 6747c038773..8ddcc8a9aae 100644
--- a/xlators/mgmt/glusterd/src/glusterd-store.c
+++ b/xlators/mgmt/glusterd/src/glusterd-store.c
@@ -12,7 +12,6 @@
#include <inttypes.h>
-#include "globals.h"
#include "glusterfs.h"
#include "compat.h"
#include "dict.h"
diff --git a/xlators/mgmt/glusterd/src/glusterd-store.h b/xlators/mgmt/glusterd/src/glusterd-store.h
index 381676078cb..d809f2c7963 100644
--- a/xlators/mgmt/glusterd/src/glusterd-store.h
+++ b/xlators/mgmt/glusterd/src/glusterd-store.h
@@ -18,7 +18,6 @@
#include "run.h"
#include "logging.h"
#include "call-stub.h"
-#include "fd.h"
#include "byte-order.h"
#include "glusterd.h"
#include "rpcsvc.h"
diff --git a/xlators/mgmt/glusterd/src/glusterd-utils.c b/xlators/mgmt/glusterd/src/glusterd-utils.c
index f211f199ce6..e6793d9b751 100644
--- a/xlators/mgmt/glusterd/src/glusterd-utils.c
+++ b/xlators/mgmt/glusterd/src/glusterd-utils.c
@@ -20,7 +20,6 @@
#include <libxml/xmlwriter.h>
#endif
-#include "globals.h"
#include "glusterfs.h"
#include "compat.h"
#include "dict.h"
diff --git a/xlators/mgmt/glusterd/src/glusterd-utils.h b/xlators/mgmt/glusterd/src/glusterd-utils.h
index 33c6fa38b59..e76ee63edf1 100644
--- a/xlators/mgmt/glusterd/src/glusterd-utils.h
+++ b/xlators/mgmt/glusterd/src/glusterd-utils.h
@@ -17,7 +17,6 @@
#include "xlator.h"
#include "logging.h"
#include "call-stub.h"
-#include "fd.h"
#include "byte-order.h"
#include "glusterd.h"
#include "rpc-clnt.h"
diff --git a/xlators/mgmt/glusterd/src/glusterd.h b/xlators/mgmt/glusterd/src/glusterd.h
index 2a097b864b2..d56727744cb 100644
--- a/xlators/mgmt/glusterd/src/glusterd.h
+++ b/xlators/mgmt/glusterd/src/glusterd.h
@@ -22,7 +22,6 @@
#include "xlator.h"
#include "logging.h"
#include "call-stub.h"
-#include "fd.h"
#include "byte-order.h"
#include "glusterd-mem-types.h"
#include "rpcsvc.h"