summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk.kim@samsung.com>2013-08-08 15:56:49 +0900
committerJaegeuk Kim <jaegeuk.kim@samsung.com>2013-08-08 15:56:49 +0900
commitc2d715d144af7209d035d0fe0b20a7a591c22c21 (patch)
tree3da73bfa461e01ad8acc3689c9d24a74d7067c83 /fs
parenta569469e967022d9ceeaa4b73619f96614087d2d (diff)
downloadlinux-c2d715d144af7209d035d0fe0b20a7a591c22c21.tar.gz
linux-c2d715d144af7209d035d0fe0b20a7a591c22c21.tar.bz2
linux-c2d715d144af7209d035d0fe0b20a7a591c22c21.zip
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')
-rw-r--r--fs/f2fs/f2fs.h1
-rw-r--r--fs/f2fs/super.c1
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 @@
#include <linux/slab.h>
#include <linux/crc32.h>
#include <linux/magic.h>
+#include <linux/kobject.h>
/*
* 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 <linux/exportfs.h>
#include <linux/blkdev.h>
#include <linux/f2fs_fs.h>
-#include <linux/kobject.h>
#include <linux/sysfs.h>
#include "f2fs.h"