Received: with ECARTIS (v1.0.0; list xfs); Mon, 16 Oct 2006 20:17:43 -0700 (PDT) Received: from cuda.sgi.com (cuda2.sgi.com [192.48.168.29]) by oss.sgi.com (8.12.10/8.12.10/SuSE Linux 0.7) with ESMTP id k9H3HVaG013869 for ; Mon, 16 Oct 2006 20:17:33 -0700 X-ASG-Debug-ID: 1161055007-21355-649-0 X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from prod.aconex.com (mail.app.aconex.com [203.89.192.138]) by cuda.sgi.com (Spam Firewall) with ESMTP id 47871D134415 for ; Mon, 16 Oct 2006 20:16:48 -0700 (PDT) Received: from page.mel.office.aconex.com (unknown [192.168.0.210]) by prod.aconex.com (Postfix) with ESMTP id 981E928B68; Tue, 17 Oct 2006 13:16:44 +1000 (EST) Received: from localhost (page.mel.aconex.com [127.0.0.1]) by page.mel.office.aconex.com (Postfix) with ESMTP id 9E0FB53410E; Tue, 17 Oct 2006 13:16:43 +1000 (EST) Received: from page.mel.office.aconex.com ([127.0.0.1]) by localhost (mail.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 21411-01-14; Tue, 17 Oct 2006 13:16:42 +1000 (EST) Received: from edge (unknown [192.168.0.246]) by page.mel.office.aconex.com (Postfix) with ESMTP id 5F49253411B; Tue, 17 Oct 2006 13:16:12 +1000 (EST) X-ASG-Orig-Subj: Re: [PATCH 1/2] Make stuff static Subject: Re: [PATCH 1/2] Make stuff static From: Nathan Scott Reply-To: nscott@aconex.com To: David Chinner Cc: Eric Sandeen , Russell Cattelan , Timothy Shimmin , xfs@oss.sgi.com In-Reply-To: <20061017030908.GP11034@melbourne.sgi.com> References: <20060929032856.8DA9C18001A5E@sandeen.net> <23F15D6AE8566A54B81188AC@timothy-shimmins-power-mac-g5.local> <45338DDE.8020903@sandeen.net> <4533FAEA.2080500@sandeen.net> <20061016232250.GM11034@melbourne.sgi.com> <1161042943.5723.117.camel@xenon.msp.redhat.com> <20061017005038.GN11034@melbourne.sgi.com> <45342BF3.8020609@sandeen.net> <20061017030908.GP11034@melbourne.sgi.com> Content-Type: text/plain Organization: Aconex Date: Tue, 17 Oct 2006 13:18:04 +1000 Message-Id: <1161055084.17754.7.camel@edge> Mime-Version: 1.0 X-Mailer: Evolution 2.6.3 Content-Transfer-Encoding: 7bit X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=3.5 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=9.0 tests= X-Barracuda-Spam-Report: Code version 3.02, rules version 3.0.23436 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-archive-position: 9318 X-ecartis-version: Ecartis v1.0.0 Sender: xfs-bounce@oss.sgi.com Errors-to: xfs-bounce@oss.sgi.com X-original-sender: nscott@aconex.com Precedence: bulk X-list: xfs On Tue, 2006-10-17 at 13:09 +1000, David Chinner wrote: > On Mon, Oct 16, 2006 at 08:03:47PM -0500, Eric Sandeen wrote: > > David Chinner wrote: > > > Of course, no plan ever survives contact with the enemy. :/ > > STATIC is also used for defining various structure tables. > And variables. They'll all get changed to "static".... > > Then there's __inline and __inline__ still used in places..... > > The patch that follows does the noinline change, de-inlines > xfs_cleanup_inode() and cleans up all the inline cruft hanging around. > > Comments? > Be careful of userspace, where much of this code is also compiled in libxfs, and STATIC is always #defined away to nothingness there (as there's need for some routines to be accessed outside of one source file there, differently to the kernel, IIRC). cheers. -- Nathan