Received: with ECARTIS (v1.0.0; list xfs); Sun, 31 Aug 2008 19:04:28 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.0-r574664 (2007-09-11) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-r574664 Received: from larry.melbourne.sgi.com (larry.melbourne.sgi.com [134.14.52.130]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with SMTP id m8124NkL010560 for ; Sun, 31 Aug 2008 19:04:24 -0700 Received: from pc-bnaujok.melbourne.sgi.com (pc-bnaujok.melbourne.sgi.com [134.14.55.58]) by larry.melbourne.sgi.com (950413.SGI.8.6.12/950213.SGI.AUTOCF) via ESMTP id MAA06909; Mon, 1 Sep 2008 12:05:47 +1000 To: "Christoph Hellwig" Subject: Re: [REVIEW #2] Update kernel code to compile in userspace (libxfs) From: "Barry Naujok" Organization: SGI Cc: "xfs@oss.sgi.com" Content-Type: text/plain; format=flowed; delsp=yes; charset=utf-8 MIME-Version: 1.0 References: <20080829181120.GA9455@infradead.org> <20080901015950.GA16825@infradead.org> Content-Transfer-Encoding: 7bit Date: Mon, 01 Sep 2008 12:06:54 +1000 Message-ID: In-Reply-To: <20080901015950.GA16825@infradead.org> User-Agent: Opera Mail/9.51 (Win32) X-Virus-Scanned: ClamAV 0.91.2/8122/Sat Aug 30 18:04:56 2008 on oss.sgi.com X-Virus-Status: Clean X-archive-position: 17769 X-ecartis-version: Ecartis v1.0.0 Sender: xfs-bounce@oss.sgi.com Errors-to: xfs-bounce@oss.sgi.com X-original-sender: bnaujok@sgi.com Precedence: bulk X-list: xfs On Mon, 01 Sep 2008 11:59:50 +1000, Christoph Hellwig wrote: > On Mon, Sep 01, 2008 at 11:56:03AM +1000, Barry Naujok wrote: >> On Sat, 30 Aug 2008 04:11:20 +1000, Christoph Hellwig >> >> wrote: >> >>> On Fri, Aug 29, 2008 at 05:59:43PM +1000, Barry Naujok wrote: >>>> On Fri, 29 Aug 2008 17:00:56 +1000, Barry Naujok >>>> wrote: >>>> >>>>> Mostly header changes associated with #ifdef __KERNEL__ stuff. >>>>> >>>>> Some function prototypes had to be reordered to separate >>>>> shared and kernel only functions. >>>> >>>> fs/xfs/xfs_inode.h patch looked pretty horrid (and there was a missing >>>> declaration), here's a better version: >>> >>> I still don't like it very much :) What about just moving the >>> xfs_ictimestamp and xfs_icdinode defintions next to the ifork >>> so that we can save one ifdef __KERNEL__? Also might be worth >>> to move the xfs_iflock & co inlines before the end of that __KERNEL__ >>> block to save another ifdef. >> >> Ok, this now only has one blob of #ifdef __KERNEL__ in it now: > > Looks good. > What about the rest ;)