From 0821a57bd2e7518d1c8df2d4403a2dfbb8ee5b6b Mon Sep 17 00:00:00 2001 From: Girjesh Rajoria Date: Fri, 3 Nov 2017 02:42:23 +0530 Subject: 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 --- xlators/features/leases/src/leases.h | 1 - xlators/features/locks/src/clear.c | 1 - xlators/features/locks/src/common.c | 1 - xlators/features/locks/src/entrylk.c | 1 - xlators/features/locks/src/inodelk.c | 1 - xlators/features/locks/src/posix.c | 1 - xlators/features/locks/src/reservelk.c | 1 - xlators/features/locks/tests/unit-test.c | 1 - xlators/features/marker/src/marker-common.h | 1 - xlators/features/quota/src/quota.h | 1 - xlators/features/snapview-server/src/snapview-server.h | 1 - xlators/features/upcall/src/upcall-internal.c | 1 - xlators/features/upcall/src/upcall.c | 1 - 13 files changed, 13 deletions(-) (limited to 'xlators/features') diff --git a/xlators/features/leases/src/leases.h b/xlators/features/leases/src/leases.h index 5dde1592fb5..80dbcbb06b9 100644 --- a/xlators/features/leases/src/leases.h +++ b/xlators/features/leases/src/leases.h @@ -19,7 +19,6 @@ #include "common-utils.h" #include "glusterfs.h" #include "xlator.h" -#include "inode.h" #include "call-stub.h" #include "logging.h" #include "client_t.h" diff --git a/xlators/features/locks/src/clear.c b/xlators/features/locks/src/clear.c index d7c210f24a5..f6897333ce7 100644 --- a/xlators/features/locks/src/clear.c +++ b/xlators/features/locks/src/clear.c @@ -15,7 +15,6 @@ #include "glusterfs.h" #include "compat.h" #include "xlator.h" -#include "inode.h" #include "logging.h" #include "common-utils.h" diff --git a/xlators/features/locks/src/common.c b/xlators/features/locks/src/common.c index 4b63c43057f..b8c09a988ee 100644 --- a/xlators/features/locks/src/common.c +++ b/xlators/features/locks/src/common.c @@ -15,7 +15,6 @@ #include "glusterfs.h" #include "compat.h" #include "xlator.h" -#include "inode.h" #include "logging.h" #include "common-utils.h" diff --git a/xlators/features/locks/src/entrylk.c b/xlators/features/locks/src/entrylk.c index 4231d760cdc..0dfc9df737b 100644 --- a/xlators/features/locks/src/entrylk.c +++ b/xlators/features/locks/src/entrylk.c @@ -10,7 +10,6 @@ #include "glusterfs.h" #include "compat.h" #include "xlator.h" -#include "inode.h" #include "logging.h" #include "common-utils.h" #include "list.h" diff --git a/xlators/features/locks/src/inodelk.c b/xlators/features/locks/src/inodelk.c index e1702c78ba1..a8381adda3d 100644 --- a/xlators/features/locks/src/inodelk.c +++ b/xlators/features/locks/src/inodelk.c @@ -10,7 +10,6 @@ #include "glusterfs.h" #include "compat.h" #include "xlator.h" -#include "inode.h" #include "logging.h" #include "common-utils.h" #include "list.h" diff --git a/xlators/features/locks/src/posix.c b/xlators/features/locks/src/posix.c index ff9a3da1a2e..7e94c284ed1 100644 --- a/xlators/features/locks/src/posix.c +++ b/xlators/features/locks/src/posix.c @@ -15,7 +15,6 @@ #include "glusterfs.h" #include "compat.h" #include "xlator.h" -#include "inode.h" #include "logging.h" #include "common-utils.h" diff --git a/xlators/features/locks/src/reservelk.c b/xlators/features/locks/src/reservelk.c index 13b23f9f887..5c7a5b47f3e 100644 --- a/xlators/features/locks/src/reservelk.c +++ b/xlators/features/locks/src/reservelk.c @@ -10,7 +10,6 @@ #include "glusterfs.h" #include "compat.h" #include "xlator.h" -#include "inode.h" #include "logging.h" #include "common-utils.h" #include "list.h" diff --git a/xlators/features/locks/tests/unit-test.c b/xlators/features/locks/tests/unit-test.c index dec2ba85909..9468f9e1865 100644 --- a/xlators/features/locks/tests/unit-test.c +++ b/xlators/features/locks/tests/unit-test.c @@ -10,7 +10,6 @@ #include "glusterfs.h" #include "compat.h" #include "xlator.h" -#include "inode.h" #include "logging.h" #include "common-utils.h" #include "list.h" diff --git a/xlators/features/marker/src/marker-common.h b/xlators/features/marker/src/marker-common.h index c6ca422dd6a..fbe9a2ce4b0 100644 --- a/xlators/features/marker/src/marker-common.h +++ b/xlators/features/marker/src/marker-common.h @@ -10,7 +10,6 @@ #ifndef _MARKER_COMMON_H #define _MARKER_COMMON_H -#include "inode.h" #include "xlator.h" #include "marker.h" diff --git a/xlators/features/quota/src/quota.h b/xlators/features/quota/src/quota.h index adab7eb629c..b99ca820e7f 100644 --- a/xlators/features/quota/src/quota.h +++ b/xlators/features/quota/src/quota.h @@ -19,7 +19,6 @@ #include "compat.h" #include "logging.h" #include "dict.h" -#include "stack.h" #include "event.h" #include "rpcsvc.h" #include "rpc-clnt.h" diff --git a/xlators/features/snapview-server/src/snapview-server.h b/xlators/features/snapview-server/src/snapview-server.h index a12319fa9b2..d776ed93a3a 100644 --- a/xlators/features/snapview-server/src/snapview-server.h +++ b/xlators/features/snapview-server/src/snapview-server.h @@ -14,7 +14,6 @@ #include "defaults.h" #include "mem-types.h" #include "call-stub.h" -#include "inode.h" #include "byte-order.h" #include "iatt.h" #include diff --git a/xlators/features/upcall/src/upcall-internal.c b/xlators/features/upcall/src/upcall-internal.c index 8b15dfceee7..867b2901cb6 100644 --- a/xlators/features/upcall/src/upcall-internal.c +++ b/xlators/features/upcall/src/upcall-internal.c @@ -15,7 +15,6 @@ #include "glusterfs.h" #include "compat.h" #include "xlator.h" -#include "inode.h" #include "logging.h" #include "common-utils.h" diff --git a/xlators/features/upcall/src/upcall.c b/xlators/features/upcall/src/upcall.c index 3e1d307260a..9d17d595783 100644 --- a/xlators/features/upcall/src/upcall.c +++ b/xlators/features/upcall/src/upcall.c @@ -16,7 +16,6 @@ #include "glusterfs.h" #include "compat.h" #include "xlator.h" -#include "inode.h" #include "logging.h" #include "common-utils.h" -- cgit