From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Garzik Subject: Re: [PATCH] btrfs: compile fix Date: Sat, 15 Jan 2011 16:07:58 -0500 Message-ID: <4D320CAE.3010508@garzik.org> References: <1295105635.5973.22.camel@mulgrave.site> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Chris Mason , linux-fsdevel , Linus Torvalds To: James Bottomley Return-path: Received: from mail-qw0-f46.google.com ([209.85.216.46]:54055 "EHLO mail-qw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751180Ab1AOVIB (ORCPT ); Sat, 15 Jan 2011 16:08:01 -0500 Received: by qwa26 with SMTP id 26so3740365qwa.19 for ; Sat, 15 Jan 2011 13:08:00 -0800 (PST) In-Reply-To: <1295105635.5973.22.camel@mulgrave.site> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On 01/15/2011 10:33 AM, James Bottomley wrote: > Could we please fix this problem: > > 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 > make[2]: *** [fs/btrfs/ctree.o] Error 1 > > It's annoying all my builds at the moment. > > James > > --- > > diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h > index a142d20..f4f5fd5 100644 > --- a/fs/btrfs/ctree.h > +++ b/fs/btrfs/ctree.h > @@ -25,6 +25,7 @@ > #include > #include > #include > +#include > #include > #include > #include This has been broken for a day or three, and the fix is obvious. Please forward to Linus. It's annoying everybody. :) Jeff