Re: [PATCH 6/9] xfs: clean up buffer allocation

Dave Chinner
2011-10-07T01:48:16Z

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 <hch@lst.de>

Cleans up the flow of the code quite a bit. Nice.

Reviewed-by: Dave Chinner <dchinner@redhat.com>

--
Dave Chinner
david@fromorbit.com