X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id p0JBag5n208749 for ; Wed, 19 Jan 2011 05:36:42 -0600 X-ASG-Debug-ID: 1295437141-62fb03900000-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 90B5B19E8545 for ; Wed, 19 Jan 2011 03:39:01 -0800 (PST) Received: from bombadil.infradead.org (bombadil.infradead.org [18.85.46.34]) by cuda.sgi.com with ESMTP id Dk5wRyOiiELMlnxb for ; Wed, 19 Jan 2011 03:39:01 -0800 (PST) X-ASG-Whitelist: Client Received: from hch by bombadil.infradead.org with local (Exim 4.72 #1 (Red Hat Linux)) id 1PfWNR-0003Sg-0g; Wed, 19 Jan 2011 11:39:01 +0000 Date: Wed, 19 Jan 2011 06:39:01 -0500 From: Christoph Hellwig To: Dave Chinner Cc: Christoph Hellwig , xfs@oss.sgi.com X-ASG-Orig-Subj: Re: [PATCH 07/12] xfs: kill xfs_fs_mount_cmn_err() macro Subject: Re: [PATCH 07/12] xfs: kill xfs_fs_mount_cmn_err() macro Message-ID: <20110119113900.GB12941@infradead.org> References: <1294792553-8378-1-git-send-email-david@fromorbit.com> <1294792553-8378-8-git-send-email-david@fromorbit.com> <20110118130023.GA23988@infradead.org> <20110118214610.GW28803@dastard> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110118214610.GW28803@dastard> User-Agent: Mutt/1.5.21 (2010-09-15) 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: 1295437141 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean On Wed, Jan 19, 2011 at 08:46:10AM +1100, Dave Chinner wrote: > > I would be nice to just move the quite flag into the normal mount flags > > and have a xfs_mount_warn that checks it based off the mp. > > Given it is a flag that is only relevant for the mount context, is > there really any need to use a flag that persists for the entire > life of the filesystem for it? I don't think the code is that hard > to follow right now. ;) We can clear the flag after the mount. But in the end it's probably not worth bothering, so feel free to leave it as-is.