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 relay.sgi.com (relay2.corp.sgi.com [137.38.102.29]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id p97JdFxB258910 for ; Fri, 7 Oct 2011 14:39:15 -0500 Received: from xmail.sgi.com (pv-excas3-dc21-nlb.corp.sgi.com [137.38.102.207]) by relay2.corp.sgi.com (Postfix) with ESMTP id 2C284304048; Fri, 7 Oct 2011 12:39:12 -0700 (PDT) Received: from [127.0.0.1] (128.162.232.50) by xmail.sgi.com (137.38.102.30) with Microsoft SMTP Server (TLS) id 14.1.289.1; Fri, 7 Oct 2011 14:38:51 -0500 Subject: Re: [PATCH 6/9] xfs: clean up buffer allocation From: Alex Elder Reply-To: To: Christoph Hellwig CC: In-Reply-To: <20111006210639.521140680@bombadil.infradead.org> References: <20111006210607.175284390@bombadil.infradead.org> <20111006210639.521140680@bombadil.infradead.org> Content-Type: text/plain; charset="UTF-8" Date: Fri, 7 Oct 2011 14:37:04 -0500 Message-ID: <1318016224.2810.44.camel@doink> MIME-Version: 1.0 X-Mailer: Evolution 2.32.2 Content-Transfer-Encoding: 7bit X-Originating-IP: [128.162.232.50] X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean On Thu, 2011-10-06 at 17:06 -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 Looks good. Reviewed-by: Alex Elder