From: Jaegeuk Kim Date: Thu, 8 Aug 2013 06:56:49 +0000 (+0900) Subject: f2fs: fix a build failure due to missing the kobject header X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c2d715d144af7209d035d0fe0b20a7a591c22c21;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git f2fs: fix a build failure due to missing the kobject header This patch should resolve the following error reported by kbuild test robot. All error/warnings: In file included from fs/f2fs/dir.c:13:0: >> fs/f2fs/f2fs.h:435:17: error: field 's_kobj' has incomplete type struct kobject s_kobj; The failure was caused by missing the kobject header file in dir.c. So, this patch move the header file to the right location, f2fs.h. CC: Namjae Jeon Signed-off-by: Jaegeuk Kim --- diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index 13db10b70e66..d8e386ceb0cd 100644 --- a/fs/f2fs/f2fs.h +++ b/fs/f2fs/f2fs.h @@ -17,6 +17,7 @@ #include #include #include +#include /* * For mount options diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c index 94c0e2049546..66d1ec137e44 100644 --- a/fs/f2fs/super.c +++ b/fs/f2fs/super.c @@ -23,7 +23,6 @@ #include #include #include -#include #include #include "f2fs.h"