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 /fs/f2fs/f2fs.h | |
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>
Diffstat (limited to 'fs/f2fs/f2fs.h')
-rw-r--r-- | fs/f2fs/f2fs.h | 1 |
1 files changed, 1 insertions, 0 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 |