Re: Error in linux-2.6.37-git5 in btrfs in ctree.c

From: AmÃrico Wang
Date: Tue Jan 11 2011 - 08:15:52 EST


On Tue, Jan 11, 2011 at 01:53:55PM +0100, Piotr Hosowicz wrote:
>(I send again because my previous message wasn't delivered.)
>
>Hello,
>
>There is an error in here:
>
>In file included from fs/btrfs/ctree.c:21:
>fs/btrfs/ctree.h:1003: error: field âsuper_kobjâ has incomplete type
>fs/btrfs/ctree.h:1074: error: field âroot_kobjâ has incomplete type
>
>Kernel fails to build. linux-2.6.37-git5
>

I saw this too, just adding "<linux/kobject.h>" to ctree.h will
fix this error.

I have a patch but it is not on this laptop. :-/


--
Live like a child, think like the god.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/