Re: [PATCH] ocfs2: remove unneeded header include path in fs/ocfs2/Makefile

From: Andrew Morton
Date: Thu Jan 09 2020 - 19:27:16 EST


On Sun, 5 Jan 2020 16:00:23 +0900 Masahiro Yamada <masahiroy@xxxxxxxxxx> wrote:

> You can build fs/ocfs2 without this.
>
> Signed-off-by: Masahiro Yamada <masahiroy@xxxxxxxxxx>
> ---
>
> fs/ocfs2/Makefile | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/fs/ocfs2/Makefile b/fs/ocfs2/Makefile
> index cc9b32b9db7c..46381d9dd890 100644
> --- a/fs/ocfs2/Makefile
> +++ b/fs/ocfs2/Makefile
> @@ -1,5 +1,4 @@
> # SPDX-License-Identifier: GPL-2.0
> -ccflags-y := -I$(src)
>
> obj-$(CONFIG_OCFS2_FS) += \
> ocfs2.o \

I get

fs/ocfs2/alloc.c:21:10: fatal error: cluster/masklog.h: No such file or directory
#include <cluster/masklog.h>