]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: split up xfs_buf_allocate_memory
authorDave Chinner <dchinner@redhat.com>
Tue, 1 Jun 2021 03:40:02 +0000 (13:40 +1000)
committerDave Chinner <david@fromorbit.com>
Tue, 1 Jun 2021 03:40:02 +0000 (13:40 +1000)
commitba3b414ee42f49ac7be6b5ea7289aeabaedd97d5
treec4af374500a5bf9fe43df3459651e7b1010e7a13
parent87d9f8b77b5545016adf3cfc494e6ea6899acca7
xfs: split up xfs_buf_allocate_memory

Based on a patch from Christoph Hellwig.

This splits out the heap allocation and page allocation portions of
the buffer memory allocation into two separate helper functions.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
fs/xfs/xfs_buf.c