]> git.karo-electronics.de Git - mv-sheeva.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>
Wed, 12 Oct 2011 02:15:10 +0000 (21:15 -0500)
commit4347b9d7ad4223474d315c3ab6bc1ce7cce7fa2d
treee82674b33a3a86528749d4960e0b0f97395c309e
parentaf5c4bee499eb68bc36ca046030394d82d0e3669
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