]> git.baikalelectronics.ru Git - kernel.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)
commit815170540a9cf98447f5c09cdedee0a4104bbd83
treee82674b33a3a86528749d4960e0b0f97395c309e
parentd2036c4b0ffc404d97380d2c744b650b7be3ca2a
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