summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--api/src/glfs-mgmt.c1
-rw-r--r--glusterfsd/src/glusterfsd-mgmt.c1
-rw-r--r--glusterfsd/src/glusterfsd.c1
-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
-rw-r--r--xlators/cluster/afr/src/afr-common.c3
-rw-r--r--xlators/cluster/afr/src/afr-dir-read.c1
-rw-r--r--xlators/cluster/afr/src/afr-dir-write.c1
-rw-r--r--xlators/cluster/afr/src/afr-inode-read.c1
-rw-r--r--xlators/cluster/afr/src/afr-inode-write.c1
-rw-r--r--xlators/cluster/afr/src/afr-open.c3
-rw-r--r--xlators/experimental/fdl/src/recon-tmpl.c1
-rw-r--r--xlators/features/leases/src/leases.h1
-rw-r--r--xlators/features/locks/src/clear.c1
-rw-r--r--xlators/features/locks/src/common.c1
-rw-r--r--xlators/features/locks/src/entrylk.c1
-rw-r--r--xlators/features/locks/src/inodelk.c1
-rw-r--r--xlators/features/locks/src/posix.c1
-rw-r--r--xlators/features/locks/src/reservelk.c1
-rw-r--r--xlators/features/locks/tests/unit-test.c1
-rw-r--r--xlators/features/marker/src/marker-common.h1
-rw-r--r--xlators/features/quota/src/quota.h1
-rw-r--r--xlators/features/snapview-server/src/snapview-server.h1
-rw-r--r--xlators/features/upcall/src/upcall-internal.c1
-rw-r--r--xlators/features/upcall/src/upcall.c1
-rw-r--r--xlators/meta/src/cmdline-file.c1
-rw-r--r--xlators/meta/src/frames-file.c1
-rw-r--r--xlators/meta/src/name-file.c1
-rw-r--r--xlators/meta/src/process_uuid-file.c1
-rw-r--r--xlators/meta/src/type-file.c1
-rw-r--r--xlators/meta/src/version-file.c1
-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
-rw-r--r--xlators/nfs/server/src/acl3.c1
-rw-r--r--xlators/nfs/server/src/nfs-fops.c2
-rw-r--r--xlators/nfs/server/src/nfs-fops.h1
-rw-r--r--xlators/nfs/server/src/nfs-generics.c1
-rw-r--r--xlators/nfs/server/src/nfs-inodes.c1
-rw-r--r--xlators/nfs/server/src/nfs-inodes.h1
-rw-r--r--xlators/nfs/server/src/nfs.c1
-rw-r--r--xlators/nfs/server/src/nlm4.c1
-rw-r--r--xlators/protocol/client/src/client.c1
-rw-r--r--xlators/storage/posix/src/posix-handle.h1
-rw-r--r--xlators/storage/posix/src/posix.h1
58 files changed, 0 insertions, 65 deletions
diff --git a/api/src/glfs-mgmt.c b/api/src/glfs-mgmt.c
index 32b9dbd4e31..ac306e40027 100644
--- a/api/src/glfs-mgmt.c
+++ b/api/src/glfs-mgmt.c
@@ -18,7 +18,6 @@
#include "glusterfs.h"
#include "glfs.h"
-#include "stack.h"
#include "dict.h"
#include "event.h"
#include "defaults.h"
diff --git a/glusterfsd/src/glusterfsd-mgmt.c b/glusterfsd/src/glusterfsd-mgmt.c
index 415c26d68d0..b8ebdefb876 100644
--- a/glusterfsd/src/glusterfsd-mgmt.c
+++ b/glusterfsd/src/glusterfsd-mgmt.c
@@ -14,7 +14,6 @@
#include <signal.h>
#include "glusterfs.h"
-#include "stack.h"
#include "dict.h"
#include "event.h"
#include "defaults.h"
diff --git a/glusterfsd/src/glusterfsd.c b/glusterfsd/src/glusterfsd.c
index 2a1898be30e..bb85628c804 100644
--- a/glusterfsd/src/glusterfsd.c
+++ b/glusterfsd/src/glusterfsd.c
@@ -62,7 +62,6 @@
#include "list.h"
#include "timer.h"
#include "glusterfsd.h"
-#include "stack.h"
#include "revision.h"
#include "common-utils.h"
#include "event.h"
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"
diff --git a/xlators/cluster/afr/src/afr-common.c b/xlators/cluster/afr/src/afr-common.c
index 5e336c2a74c..11594a2b7ae 100644
--- a/xlators/cluster/afr/src/afr-common.c
+++ b/xlators/cluster/afr/src/afr-common.c
@@ -21,7 +21,6 @@
#include "xlator.h"
#include "hashfn.h"
#include "logging.h"
-#include "stack.h"
#include "list.h"
#include "call-stub.h"
#include "defaults.h"
@@ -30,10 +29,8 @@
#include "compat.h"
#include "byte-order.h"
#include "statedump.h"
-#include "inode.h"
#include "events.h"
#include "upcall-utils.h"
-#include "fd.h"
#include "afr-inode-read.h"
#include "afr-inode-write.h"
diff --git a/xlators/cluster/afr/src/afr-dir-read.c b/xlators/cluster/afr/src/afr-dir-read.c
index 4e29171482a..5218d386c79 100644
--- a/xlators/cluster/afr/src/afr-dir-read.c
+++ b/xlators/cluster/afr/src/afr-dir-read.c
@@ -22,7 +22,6 @@
#include "xlator.h"
#include "hashfn.h"
#include "logging.h"
-#include "stack.h"
#include "list.h"
#include "call-stub.h"
#include "defaults.h"
diff --git a/xlators/cluster/afr/src/afr-dir-write.c b/xlators/cluster/afr/src/afr-dir-write.c
index 9099b8c1eee..1afd5d39670 100644
--- a/xlators/cluster/afr/src/afr-dir-write.c
+++ b/xlators/cluster/afr/src/afr-dir-write.c
@@ -22,7 +22,6 @@
#include "xlator.h"
#include "hashfn.h"
#include "logging.h"
-#include "stack.h"
#include "list.h"
#include "call-stub.h"
#include "defaults.h"
diff --git a/xlators/cluster/afr/src/afr-inode-read.c b/xlators/cluster/afr/src/afr-inode-read.c
index ecf94a523db..75b2bf8e22c 100644
--- a/xlators/cluster/afr/src/afr-inode-read.c
+++ b/xlators/cluster/afr/src/afr-inode-read.c
@@ -22,7 +22,6 @@
#include "xlator.h"
#include "hashfn.h"
#include "logging.h"
-#include "stack.h"
#include "list.h"
#include "call-stub.h"
#include "byte-order.h"
diff --git a/xlators/cluster/afr/src/afr-inode-write.c b/xlators/cluster/afr/src/afr-inode-write.c
index 97397f986b5..14114699594 100644
--- a/xlators/cluster/afr/src/afr-inode-write.c
+++ b/xlators/cluster/afr/src/afr-inode-write.c
@@ -22,7 +22,6 @@
#include "xlator.h"
#include "hashfn.h"
#include "logging.h"
-#include "stack.h"
#include "list.h"
#include "call-stub.h"
#include "defaults.h"
diff --git a/xlators/cluster/afr/src/afr-open.c b/xlators/cluster/afr/src/afr-open.c
index 6c625ccf7da..de125296bb3 100644
--- a/xlators/cluster/afr/src/afr-open.c
+++ b/xlators/cluster/afr/src/afr-open.c
@@ -21,7 +21,6 @@
#include "xlator.h"
#include "hashfn.h"
#include "logging.h"
-#include "stack.h"
#include "list.h"
#include "call-stub.h"
#include "defaults.h"
@@ -31,8 +30,6 @@
#include "byte-order.h"
#include "statedump.h"
-#include "fd.h"
-
#include "afr-inode-read.h"
#include "afr-inode-write.h"
#include "afr-dir-read.h"
diff --git a/xlators/experimental/fdl/src/recon-tmpl.c b/xlators/experimental/fdl/src/recon-tmpl.c
index ab5edb1a378..228860401ae 100644
--- a/xlators/experimental/fdl/src/recon-tmpl.c
+++ b/xlators/experimental/fdl/src/recon-tmpl.c
@@ -5,7 +5,6 @@
#endif
#include "glusterfs.h"
-#include "fd.h"
#include "iatt.h"
#include "syncop.h"
#include "xlator.h"
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 <ctype.h>
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"
diff --git a/xlators/meta/src/cmdline-file.c b/xlators/meta/src/cmdline-file.c
index 941b8073f4f..9bf5a65feef 100644
--- a/xlators/meta/src/cmdline-file.c
+++ b/xlators/meta/src/cmdline-file.c
@@ -14,7 +14,6 @@
#include "meta-mem-types.h"
#include "meta.h"
#include "strfd.h"
-#include "globals.h"
#include "lkowner.h"
diff --git a/xlators/meta/src/frames-file.c b/xlators/meta/src/frames-file.c
index 027fa294fe8..4785c6dea31 100644
--- a/xlators/meta/src/frames-file.c
+++ b/xlators/meta/src/frames-file.c
@@ -14,7 +14,6 @@
#include "meta-mem-types.h"
#include "meta.h"
#include "strfd.h"
-#include "globals.h"
#include "lkowner.h"
static int
diff --git a/xlators/meta/src/name-file.c b/xlators/meta/src/name-file.c
index 44c359ef5c8..faadbff7341 100644
--- a/xlators/meta/src/name-file.c
+++ b/xlators/meta/src/name-file.c
@@ -14,7 +14,6 @@
#include "meta-mem-types.h"
#include "meta.h"
#include "strfd.h"
-#include "globals.h"
#include "lkowner.h"
diff --git a/xlators/meta/src/process_uuid-file.c b/xlators/meta/src/process_uuid-file.c
index 3210de1d484..37eb03ac5c3 100644
--- a/xlators/meta/src/process_uuid-file.c
+++ b/xlators/meta/src/process_uuid-file.c
@@ -14,7 +14,6 @@
#include "meta-mem-types.h"
#include "meta.h"
#include "strfd.h"
-#include "globals.h"
#include "lkowner.h"
diff --git a/xlators/meta/src/type-file.c b/xlators/meta/src/type-file.c
index f27e4b0a777..235ecc2dd6d 100644
--- a/xlators/meta/src/type-file.c
+++ b/xlators/meta/src/type-file.c
@@ -14,7 +14,6 @@
#include "meta-mem-types.h"
#include "meta.h"
#include "strfd.h"
-#include "globals.h"
#include "lkowner.h"
diff --git a/xlators/meta/src/version-file.c b/xlators/meta/src/version-file.c
index ace419ea439..1b0e4458448 100644
--- a/xlators/meta/src/version-file.c
+++ b/xlators/meta/src/version-file.c
@@ -14,7 +14,6 @@
#include "meta-mem-types.h"
#include "meta.h"
#include "strfd.h"
-#include "globals.h"
#include "lkowner.h"
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"
diff --git a/xlators/nfs/server/src/acl3.c b/xlators/nfs/server/src/acl3.c
index 26fd7986534..ec4b0e3dbbb 100644
--- a/xlators/nfs/server/src/acl3.c
+++ b/xlators/nfs/server/src/acl3.c
@@ -16,7 +16,6 @@
#include "mem-pool.h"
#include "logging.h"
#include "nfs-fops.h"
-#include "inode.h"
#include "nfs3.h"
#include "nfs-mem-types.h"
#include "nfs3-helpers.h"
diff --git a/xlators/nfs/server/src/nfs-fops.c b/xlators/nfs/server/src/nfs-fops.c
index 28b1781f4b1..f3741a40998 100644
--- a/xlators/nfs/server/src/nfs-fops.c
+++ b/xlators/nfs/server/src/nfs-fops.c
@@ -14,10 +14,8 @@
#include "xlator.h"
#include "iobuf.h"
#include "call-stub.h"
-#include "stack.h"
#include "nfs.h"
#include "nfs-fops.h"
-#include "inode.h"
#include "nfs-common.h"
#include "nfs3-helpers.h"
#include "nfs-mem-types.h"
diff --git a/xlators/nfs/server/src/nfs-fops.h b/xlators/nfs/server/src/nfs-fops.h
index e511e8ac1de..acf81e2ce12 100644
--- a/xlators/nfs/server/src/nfs-fops.h
+++ b/xlators/nfs/server/src/nfs-fops.h
@@ -15,7 +15,6 @@
#include "xlator.h"
#include "iobuf.h"
#include "call-stub.h"
-#include "stack.h"
#include "nfs.h"
#include "nfs-common.h"
#include "nfs-messages.h"
diff --git a/xlators/nfs/server/src/nfs-generics.c b/xlators/nfs/server/src/nfs-generics.c
index ccfc0ae87c5..7e10ea8978c 100644
--- a/xlators/nfs/server/src/nfs-generics.c
+++ b/xlators/nfs/server/src/nfs-generics.c
@@ -11,7 +11,6 @@
#include "string.h"
-#include "inode.h"
#include "nfs.h"
#include "nfs-fops.h"
#include "nfs-inodes.h"
diff --git a/xlators/nfs/server/src/nfs-inodes.c b/xlators/nfs/server/src/nfs-inodes.c
index 0dad30ba10e..515622a3d5c 100644
--- a/xlators/nfs/server/src/nfs-inodes.c
+++ b/xlators/nfs/server/src/nfs-inodes.c
@@ -10,7 +10,6 @@
#include "string.h"
-#include "inode.h"
#include "nfs.h"
#include "nfs-inodes.h"
#include "nfs-fops.h"
diff --git a/xlators/nfs/server/src/nfs-inodes.h b/xlators/nfs/server/src/nfs-inodes.h
index 9ec94f2befe..40037fbcbb2 100644
--- a/xlators/nfs/server/src/nfs-inodes.h
+++ b/xlators/nfs/server/src/nfs-inodes.h
@@ -15,7 +15,6 @@
#include "xlator.h"
#include "iobuf.h"
#include "call-stub.h"
-#include "stack.h"
#include "nfs-fops.h"
diff --git a/xlators/nfs/server/src/nfs.c b/xlators/nfs/server/src/nfs.c
index 1f637fd6091..b03f407e1bb 100644
--- a/xlators/nfs/server/src/nfs.c
+++ b/xlators/nfs/server/src/nfs.c
@@ -21,7 +21,6 @@
#include "mem-pool.h"
#include "logging.h"
#include "nfs-fops.h"
-#include "inode.h"
#include "mount3.h"
#include "nfs3.h"
#include "nfs-mem-types.h"
diff --git a/xlators/nfs/server/src/nlm4.c b/xlators/nfs/server/src/nlm4.c
index 04ec79f0a5c..78965469d12 100644
--- a/xlators/nfs/server/src/nlm4.c
+++ b/xlators/nfs/server/src/nlm4.c
@@ -17,7 +17,6 @@
#include "logging.h"
#include "syscall.h"
#include "nfs-fops.h"
-#include "inode.h"
#include "mount3.h"
#include "nfs3.h"
#include "nfs-mem-types.h"
diff --git a/xlators/protocol/client/src/client.c b/xlators/protocol/client/src/client.c
index 6cb5b6b38ca..469302b0dc0 100644
--- a/xlators/protocol/client/src/client.c
+++ b/xlators/protocol/client/src/client.c
@@ -19,7 +19,6 @@
#include "xdr-rpc.h"
#include "glusterfs3.h"
-#include "gf-dirent.h"
#include "client-messages.h"
extern rpc_clnt_prog_t clnt_handshake_prog;
diff --git a/xlators/storage/posix/src/posix-handle.h b/xlators/storage/posix/src/posix-handle.h
index 9af6a7a5442..c76e618546f 100644
--- a/xlators/storage/posix/src/posix-handle.h
+++ b/xlators/storage/posix/src/posix-handle.h
@@ -13,7 +13,6 @@
#include <limits.h>
#include <sys/types.h>
#include "xlator.h"
-#include "gf-dirent.h"
#include "posix-messages.h"
/* From Open Group Base Specifications Issue 6 */
diff --git a/xlators/storage/posix/src/posix.h b/xlators/storage/posix/src/posix.h
index b63643d970b..1e19311cb03 100644
--- a/xlators/storage/posix/src/posix.h
+++ b/xlators/storage/posix/src/posix.h
@@ -33,7 +33,6 @@
#endif
#include "xlator.h"
-#include "inode.h"
#include "compat.h"
#include "timer.h"
#include "posix-mem-types.h"