From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q1G6wQn3235011 for ; Thu, 16 Feb 2012 00:58:27 -0600 Received: from ipmail06.adl2.internode.on.net (ipmail06.adl2.internode.on.net [150.101.137.129]) by cuda.sgi.com with ESMTP id 9s5vFoZVBuqV9l5A for ; Wed, 15 Feb 2012 22:58:25 -0800 (PST) Date: Thu, 16 Feb 2012 17:58:23 +1100 From: Dave Chinner Subject: Re: [PATCH 2/5] xfs: do not require an ioend for new EOF calculation Message-ID: <20120216065823.GB14132@dastard> References: <20120207181037.745771452@bombadil.infradead.org> <20120207181155.167493646@bombadil.infradead.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20120207181155.167493646@bombadil.infradead.org> List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: xfs-bounces@oss.sgi.com Errors-To: xfs-bounces@oss.sgi.com To: Christoph Hellwig Cc: xfs@oss.sgi.com On Tue, Feb 07, 2012 at 01:10:39PM -0500, Christoph Hellwig wrote: > Replace xfs_ioend_new_eof with a new inline xfs_new_eof helper that > doesn't require and ioend, and is available also outside of xfs_aops.c. > > Also make the code a bit more clear by using a normal if statement > instead of a slightly misleading MIN(). > > Signed-off-by: Christoph Hellwig Looks good. Reviewed-by: Dave Chinner -- Dave Chinner david@fromorbit.com _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs