diff options
author | Sanju Rakonde <srakonde@redhat.com> | 2017-09-25 17:29:25 +0530 |
---|---|---|
committer | Niels de Vos <ndevos@redhat.com> | 2017-09-29 07:46:53 +0000 |
commit | 2c124b5256bac5830d81552bfb4412620aa6cfb0 (patch) | |
tree | 5eb876a52a0efb0021c2f58bfc32dab26af209a8 /glusterfsd | |
parent | e4784f26bf9739853379ec13d0f921ddfb954475 (diff) |
stack.h:PW.INCLUDE_RECURSION
The headerfile globals.h is recursively adding itself.
( globals.h -> xlator.h -> stack.h -> globals.h).
We are finding the source files which are including the header
file globals.h and removing the inclusion line.
I used git grep -l stack.h | xargs git grep globals.h --
to find out the files and removed the header file from all files
except libglusterfs/src/xlator.h and libglusterfs/src/Makefile.am
When I try to remove header file from libglusterfs/src/xlator.h
I'm getting some errors. In libglusterfs/src/Makefile.am it is
required for building RPMs.
Change-Id: I537218c09ade6d7ea51717768b26563a247daf60
BUG: 789278
Signed-off-by: Sanju Rakonde <srakonde@redhat.com>
Diffstat (limited to 'glusterfsd')
-rw-r--r-- | glusterfsd/src/glusterfsd.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/glusterfsd/src/glusterfsd.c b/glusterfsd/src/glusterfsd.c index fc902ed0484..fbbfca00d27 100644 --- a/glusterfsd/src/glusterfsd.c +++ b/glusterfsd/src/glusterfsd.c @@ -66,7 +66,6 @@ #include "revision.h" #include "common-utils.h" #include "event.h" -#include "globals.h" #include "statedump.h" #include "latency.h" #include "glusterfsd-mem-types.h" |