Received: with ECARTIS (v1.0.0; list xfs); Sun, 31 Aug 2008 18:58:29 -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.5 required=5.0 tests=AWL,BAYES_00,RDNS_NONE autolearn=no version=3.3.0-r574664 Received: from cuda.sgi.com ([192.48.176.15]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id m811wQ5r009916 for ; Sun, 31 Aug 2008 18:58:27 -0700 X-ASG-Debug-ID: 1220234391-42c400d60000-NocioJ X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from bombadil.infradead.org (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id D44B91BCAA98; Sun, 31 Aug 2008 18:59:51 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org [18.85.46.34]) by cuda.sgi.com with ESMTP id Ypob34Y6wIjsdn8p; Sun, 31 Aug 2008 18:59:51 -0700 (PDT) Received: from hch by bombadil.infradead.org with local (Exim 4.68 #1 (Red Hat Linux)) id 1KZyhr-0004Na-0E; Mon, 01 Sep 2008 01:59:51 +0000 Date: Sun, 31 Aug 2008 21:59:50 -0400 From: Christoph Hellwig To: Barry Naujok Cc: Christoph Hellwig , "xfs@oss.sgi.com" X-ASG-Orig-Subj: Re: [REVIEW #2] Update kernel code to compile in userspace (libxfs) Subject: Re: [REVIEW #2] Update kernel code to compile in userspace (libxfs) Message-ID: <20080901015950.GA16825@infradead.org> References: <20080829181120.GA9455@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org See http://www.infradead.org/rpr.html X-Barracuda-Connect: bombadil.infradead.org[18.85.46.34] X-Barracuda-Start-Time: 1220234391 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.4299 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 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: 17768 X-ecartis-version: Ecartis v1.0.0 Sender: xfs-bounce@oss.sgi.com Errors-to: xfs-bounce@oss.sgi.com X-original-sender: hch@infradead.org Precedence: bulk X-list: xfs 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.