1
0
Fork 0
alistair23-linux/fs/ocfs2/dlm
Masahiro Yamada 799c4c1e38 ocfs2: make local header paths relative to C files
[ Upstream commit ca322fb603 ]

Gang He reports the failure of building fs/ocfs2/ as an external module
of the kernel installed on the system:

 $ cd fs/ocfs2
 $ make -C /lib/modules/`uname -r`/build M=`pwd` modules

If you want to make it work reliably, I'd recommend to remove ccflags-y
from the Makefiles, and to make header paths relative to the C files.  I
think this is the correct usage of the #include "..." directive.

Link: http://lkml.kernel.org/r/20191227022950.14804-1-ghe@suse.com
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Gang He <ghe@suse.com>
Reported-by: Gang He <ghe@suse.com>
Reviewed-by: Gang He <ghe@suse.com>
Cc: Mark Fasheh <mark@fasheh.com>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Junxiao Bi <junxiao.bi@oracle.com>
Cc: Joseph Qi <jiangqi903@gmail.com>
Cc: Changwei Ge <gechangwei@live.cn>
Cc: Jun Piao <piaojun@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-02-24 08:37:00 +01:00
..
Makefile ocfs2: make local header paths relative to C files 2020-02-24 08:37:00 +01:00
dlmapi.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 145 2019-05-30 11:25:18 -07:00
dlmast.c ocfs2: make local header paths relative to C files 2020-02-24 08:37:00 +01:00
dlmcommon.h ocfs2: further debugfs cleanups 2019-09-24 15:54:07 -07:00
dlmconvert.c ocfs2: make local header paths relative to C files 2020-02-24 08:37:00 +01:00
dlmconvert.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 145 2019-05-30 11:25:18 -07:00
dlmdebug.c ocfs2: make local header paths relative to C files 2020-02-24 08:37:00 +01:00
dlmdebug.h ocfs2: further debugfs cleanups 2019-09-24 15:54:07 -07:00
dlmdomain.c ocfs2: make local header paths relative to C files 2020-02-24 08:37:00 +01:00
dlmdomain.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 145 2019-05-30 11:25:18 -07:00
dlmlock.c ocfs2: make local header paths relative to C files 2020-02-24 08:37:00 +01:00
dlmmaster.c ocfs2: make local header paths relative to C files 2020-02-24 08:37:00 +01:00
dlmrecovery.c ocfs2: make local header paths relative to C files 2020-02-24 08:37:00 +01:00
dlmthread.c ocfs2: make local header paths relative to C files 2020-02-24 08:37:00 +01:00
dlmunlock.c ocfs2: make local header paths relative to C files 2020-02-24 08:37:00 +01:00