summaryrefslogtreecommitdiffstats
path: root/libglusterfs
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 /libglusterfs
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 'libglusterfs')
-rw-r--r--libglusterfs/src/call-stub.h1
-rw-r--r--libglusterfs/src/fd.c1
-rw-r--r--libglusterfs/src/globals.c1
-rw-r--r--libglusterfs/src/inode.c1
-rw-r--r--libglusterfs/src/latency.c1
-rw-r--r--libglusterfs/src/xlator.h2
6 files changed, 0 insertions, 7 deletions
diff --git a/libglusterfs/src/call-stub.h b/libglusterfs/src/call-stub.h
index 300b5935767..59868d414e3 100644
--- a/libglusterfs/src/call-stub.h
+++ b/libglusterfs/src/call-stub.h
@@ -14,7 +14,6 @@
#include "xlator.h"
#include "defaults.h"
#include "default-args.h"
-#include "stack.h"
#include "list.h"
typedef struct _call_stub {
diff --git a/libglusterfs/src/fd.c b/libglusterfs/src/fd.c
index a824db7c7a5..d6002a4eb17 100644
--- a/libglusterfs/src/fd.c
+++ b/libglusterfs/src/fd.c
@@ -10,7 +10,6 @@
#include "fd.h"
#include "glusterfs.h"
-#include "inode.h"
#include "dict.h"
#include "statedump.h"
#include "libglusterfs-messages.h"
diff --git a/libglusterfs/src/globals.c b/libglusterfs/src/globals.c
index f182b1c7208..1c733840f46 100644
--- a/libglusterfs/src/globals.c
+++ b/libglusterfs/src/globals.c
@@ -11,7 +11,6 @@
#include <pthread.h>
#include "glusterfs.h"
-#include "globals.h"
#include "xlator.h"
#include "mem-pool.h"
#include "syncop.h"
diff --git a/libglusterfs/src/inode.c b/libglusterfs/src/inode.c
index b7b5ac6a7dd..1c8d1badf4a 100644
--- a/libglusterfs/src/inode.c
+++ b/libglusterfs/src/inode.c
@@ -9,7 +9,6 @@
*/
#include "inode.h"
-#include "fd.h"
#include "common-utils.h"
#include "statedump.h"
#include <pthread.h>
diff --git a/libglusterfs/src/latency.c b/libglusterfs/src/latency.c
index d0039a1f730..4c83024e85d 100644
--- a/libglusterfs/src/latency.c
+++ b/libglusterfs/src/latency.c
@@ -15,7 +15,6 @@
*/
#include "glusterfs.h"
-#include "stack.h"
#include "xlator.h"
#include "common-utils.h"
#include "statedump.h"
diff --git a/libglusterfs/src/xlator.h b/libglusterfs/src/xlator.h
index d802bdc76c3..7f9d483ccb3 100644
--- a/libglusterfs/src/xlator.h
+++ b/libglusterfs/src/xlator.h
@@ -58,8 +58,6 @@ typedef int32_t (*event_notify_fn_t) (xlator_t *this, int32_t event, void *data,
#include "gf-dirent.h"
#include "stack.h"
#include "iobuf.h"
-#include "inode.h"
-#include "fd.h"
#include "globals.h"
#include "iatt.h"
#include "options.h"