fs/btrfs: Fix build of ctree
authorStefan Schmidt <[email protected]>
Wed, 12 Jan 2011 09:30:42 +0000 (09:30 +0000)
committerChris Mason <[email protected]>
Sun, 16 Jan 2011 16:30:19 +0000 (11:30 -0500)
commitf580eb0931fbcb6dc3916f094f471671facd1daa
tree456f97b04cfcfb5b1c19b6b5fca225e8d92ab06b
parentf892436eb2c3223fecda614a64d51f36f6ec2245
fs/btrfs: Fix build of ctree

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

We need to include kobject.h here.

Reported-by: Jeff Garzik <[email protected]>
Fix-suggested-by: Li Zefan <[email protected]>
Signed-off-by: Stefan Schmidt <[email protected]>
Signed-off-by: Chris Mason <[email protected]>
fs/btrfs/ctree.h