diff options
author | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2013-08-08 02:56:49 -0400 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2013-08-08 02:56:49 -0400 |
commit | c2d715d144af7209d035d0fe0b20a7a591c22c21 (patch) | |
tree | 3da73bfa461e01ad8acc3689c9d24a74d7067c83 | |
parent | a569469e967022d9ceeaa4b73619f96614087d2d (diff) |
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 <namjae.jeon@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
-rw-r--r-- | fs/f2fs/f2fs.h | 1 | ||||
-rw-r--r-- | fs/f2fs/super.c | 1 |
2 files changed, 1 insertions, 1 deletions
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 @@ | |||
17 | #include <linux/slab.h> | 17 | #include <linux/slab.h> |
18 | #include <linux/crc32.h> | 18 | #include <linux/crc32.h> |
19 | #include <linux/magic.h> | 19 | #include <linux/magic.h> |
20 | #include <linux/kobject.h> | ||
20 | 21 | ||
21 | /* | 22 | /* |
22 | * For mount options | 23 | * 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 @@ | |||
23 | #include <linux/exportfs.h> | 23 | #include <linux/exportfs.h> |
24 | #include <linux/blkdev.h> | 24 | #include <linux/blkdev.h> |
25 | #include <linux/f2fs_fs.h> | 25 | #include <linux/f2fs_fs.h> |
26 | #include <linux/kobject.h> | ||
27 | #include <linux/sysfs.h> | 26 | #include <linux/sysfs.h> |
28 | 27 | ||
29 | #include "f2fs.h" | 28 | #include "f2fs.h" |