Skip to content
Commit f8b18087 authored by Stefan Schmidt's avatar Stefan Schmidt Committed by Linus Torvalds
Browse files

fs/btrfs: Fix build of ctree



Fix the build failure in some configurations:

     CC [M]  fs/btrfs/ctree.o
  In file included from fs/btrfs/ctree.c:21:0:
  fs/btrfs/ctree.h:1003:17: error: field 'super_kobj' has incomplete type
  fs/btrfs/ctree.h:1074:17: error: field 'root_kobj' has incomplete type
  make[2]: *** [fs/btrfs/ctree.o] Error 1
  make[1]: *** [fs/btrfs] Error 2
  make: *** [fs] Error 2

caused by commit 57cc7215 ("headers: kobject.h redux")

We need to include kobject.h here.

Reported-by: default avatarJeff Garzik <jeff@garzik.org>
Fix-suggested-by: default avatarLi Zefan <lizf@cn.fujitsu.com>
Signed-off-by: default avatarStefan Schmidt <stefan@datenfreihafen.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 5520ebd3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment