From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 p971mGf6212292 for ; Thu, 6 Oct 2011 20:48:16 -0500 Received: from ipmail07.adl2.internode.on.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 61D471C6FDE2 for ; Thu, 6 Oct 2011 18:48:14 -0700 (PDT) Received: from ipmail07.adl2.internode.on.net (ipmail07.adl2.internode.on.net [150.101.137.131]) by cuda.sgi.com with ESMTP id EG3aAwYT4a5aRxLE for ; Thu, 06 Oct 2011 18:48:14 -0700 (PDT) Date: Fri, 7 Oct 2011 12:48:12 +1100 From: Dave Chinner Subject: Re: [PATCH 6/9] xfs: clean up buffer allocation Message-ID: <20111007014812.GC3159@dastard> References: <20111006210607.175284390@bombadil.infradead.org> <20111006210639.521140680@bombadil.infradead.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20111006210639.521140680@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 Thu, Oct 06, 2011 at 05:06:13PM -0400, Christoph Hellwig wrote: > Change _xfs_buf_initialize to allocate the buffer directly and rename it to > xfs_buf_alloc now that is the only buffer allocation routine. Also remove > the xfs_buf_deallocate wrapper around the kmem_zone_free calls for buffers. > > Signed-off-by: Christoph Hellwig Cleans up the flow of the code quite a bit. Nice. Reviewed-by: Dave Chinner -- Dave Chinner david@fromorbit.com _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs