]> git.karo-electronics.de Git - karo-tx-linux.git/commit
xfs: clean up buffer allocation
authorChristoph Hellwig <hch@infradead.org>
Mon, 10 Oct 2011 16:52:48 +0000 (16:52 +0000)
committerAlex Elder <aelder@sgi.com>
Tue, 11 Oct 2011 16:38:56 +0000 (11:38 -0500)
commitd54b997ac3e8eb4da692031a8becae81ce23f026
tree88e9f48af83b0a3c5e9abe1be748a8c18c752bbe
parent5ea31d2bf8827b8bfb9a2130c50916e7b687dabe
xfs: clean up buffer allocation

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>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Alex Elder <aelder@sgi.com>
fs/xfs/xfs_buf.c
fs/xfs/xfs_buf.h
fs/xfs/xfs_log.c