From: Stefan Schmidt Date: Wed, 12 Jan 2011 09:30:42 +0000 (+0100) Subject: fs/btrfs: Fix build of ctree X-Git-Tag: v2.6.38-rc1~31 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f8b18087fd3277e424a24e13ce0edf30abe97ce0;p=platform%2Fupstream%2Fkernel-adaptation-pc.git 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 57cc7215b708 ("headers: kobject.h redux") We need to include kobject.h here. Reported-by: Jeff Garzik Fix-suggested-by: Li Zefan Signed-off-by: Stefan Schmidt Signed-off-by: Linus Torvalds --- diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index a142d20..b875d44 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h @@ -27,6 +27,7 @@ #include #include #include +#include #include #include "extent_io.h" #include "extent_map.h"