From: David Howells Subject: Re: [PATCH] BLOCK: Make it possible to disable the block layer Date: Thu, 24 Aug 2006 14:54:03 +0100 Message-ID: <1312.1156427643@warthog.cambridge.redhat.com> References: <1156426859.3012.36.camel@pmac.infradead.org> <1156425193.3012.32.camel@pmac.infradead.org> <32640.1156424442@warthog.cambridge.redhat.com> <778.1156426456@warthog.cambridge.redhat.com> Cc: David Howells , Jens Axboe , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Return-path: Received: from mx1.redhat.com ([66.187.233.31]:53197 "EHLO mx1.redhat.com") by vger.kernel.org with ESMTP id S1751548AbWHXNyM (ORCPT ); Thu, 24 Aug 2006 09:54:12 -0400 In-Reply-To: <1156426859.3012.36.camel@pmac.infradead.org> To: David Woodhouse Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org David Woodhouse wrote: > So don't put it in the header file itself. Just do > > #ifdef CONFIG_foo > #include > #endif That still doesn't work, but for a different reason. > Better still, avoid the need for the external code to poke at fs-private > header files at all. Yeah. David