]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: fix a build failure due to missing the kobject header
authorJaegeuk Kim <jaegeuk.kim@samsung.com>
Thu, 8 Aug 2013 06:56:49 +0000 (15:56 +0900)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Thu, 8 Aug 2013 06:56:49 +0000 (15:56 +0900)
commit9a22a6c31af4940e45f8256218b51118e4f04522
tree3da73bfa461e01ad8acc3689c9d24a74d7067c83
parentc99524385a236c2ee28443a31d46dc4389fd3abe
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>
fs/f2fs/f2fs.h
fs/f2fs/super.c