Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c2d715d1 authored by Jaegeuk Kim's avatar Jaegeuk Kim
Browse files

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: default avatarJaegeuk Kim <jaegeuk.kim@samsung.com>
parent a569469e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@
#include <linux/slab.h>
#include <linux/crc32.h>
#include <linux/magic.h>
#include <linux/kobject.h>

/*
 * For mount options
+0 −1
Original line number Diff line number Diff line
@@ -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"